update Justfile to use new names for nixos-rebuild options

This commit is contained in:
xunuwu 2025-06-19 00:38:54 +02:00
parent d1df4951ad
commit ef0d4ee223
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI

View file

@ -1,9 +1,7 @@
hostname := `hostname`
local OPERATION *FLAGS:
nixos-rebuild \
--flake .#{{hostname}} \
--use-remote-sudo \
--flake .# \
--sudo \
{{FLAGS}} \
{{OPERATION}}
@ -12,9 +10,9 @@ updatekeys:
remote OPERATION HOST REMOTEHOST *FLAGS:
nixos-rebuild \
--fast \
--no-reexec \
--flake .#{{HOST}} \
--target-host {{REMOTEHOST}} \
--use-remote-sudo \
--sudo \
{{FLAGS}} \
{{OPERATION}}