Commit Graph

160 Commits

Author SHA1 Message Date
phaer
89f64e4f21 default to nix copy --substitute-on-destination 2023-01-15 19:27:31 +01:00
phaer
f44e1b2070 extra-files: use rsync -p, -FF
After removing -a in #15, remote extra files are implictly chowned
according to the remote umask. So we (re-)add --perms to apply local
file permissions remotely as this should mostly be expected behavior.

The second -F disables uploading the .rsync-filter file itself if it exists.
2023-01-15 13:03:23 +01:00
Jörg Thalheim
2179012ece perform reboot in the background
This allows the user to monitor reboot happens from a script and run
further actions after it comes back.
2023-01-12 11:53:30 +01:00
bors[bot]
61a3eaa8db
Merge #30
30: fix command check when gathering facts r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-12 08:28:59 +00:00
Jörg Thalheim
351a6ba1f0 fix command check when gathering facts 2023-01-12 09:24:28 +01:00
Ilan Joselevich
e2d1a946b1 treewide: add formatting via treefmt 2023-01-12 04:40:53 +02:00
Ilan Joselevich
4d04a9dc93 nixos-remote.sh: add -L/--print-build-logs flag 2023-01-12 01:04:31 +02:00
Ilan Joselevich
4850438135 nixos-remote.sh: don't create symlink in dir 2023-01-12 01:04:31 +02:00
Ilan Joselevich
f18629c159
nix: refactor and start using flake-parts 2023-01-11 00:55:53 +02:00
Ilan Joselevich
52e7ab3910
Use writeShellApplication for packaging 2023-01-10 23:05:47 +02:00