sync
This commit is contained in:
parent
701f2c531f
commit
1fa4bc50c7
18 changed files with 259 additions and 310 deletions
2
Justfile
2
Justfile
|
@ -77,7 +77,7 @@ deploy target_host extra_flags="":
|
|||
|
||||
deploy2 target_host extra_flags="":
|
||||
@test -f nixos/hosts/{{target_host}}/.target || { echo "Host cannot be deployed, add a .target file with SSH destination"; exit 1; }
|
||||
nixos-rebuild switch {{extra_flags}} --target-host root@`cat nixos/hosts/{{target_host}}/.target` --accept-flake-config --flake .#{{target_host}}
|
||||
nixos-rebuild switch {{extra_flags}} --target-host root@`cat nixos/hosts/{{target_host}}/.target` `cat nixos/hosts/{{target_host}}/.flags 2>/dev/null || echo ''` --accept-flake-config --flake .#{{target_host}}
|
||||
|
||||
#
|
||||
ssh target_host *args='':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue