lots of stuff
This commit is contained in:
parent
926f8b190b
commit
6bae0fa254
42 changed files with 1109 additions and 73 deletions
20
Justfile
20
Justfile
|
@ -1,6 +1,16 @@
|
|||
remote OPERATION HOST:
|
||||
nixos-rebuild \
|
||||
--flake .#{{HOST}} \
|
||||
--target-host xun@{{HOST}} \
|
||||
--use-remote-sudo \
|
||||
hostname := `hostname`
|
||||
|
||||
local OPERATION:
|
||||
sudo nixos-rebuild \
|
||||
--flake .#{{hostname}} \
|
||||
{{OPERATION}}
|
||||
|
||||
|
||||
remote OPERATION HOST HOSTNAME *FLAGS:
|
||||
nixos-rebuild \
|
||||
--fast \
|
||||
--flake .#{{HOST}} \
|
||||
--target-host xun@{{HOSTNAME}} \
|
||||
--use-remote-sudo \
|
||||
{{FLAGS}} \
|
||||
{{OPERATION}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue