add deploy-rs for remotely deploy nixos config
This commit is contained in:
parent
cf03484587
commit
ae7d74249b
15 changed files with 290 additions and 85 deletions
6
Justfile
6
Justfile
|
|
@ -10,9 +10,9 @@ switch specialisation=DEFAULT_SPECIALISATION:
|
|||
update:
|
||||
nix flake update | spacer
|
||||
|
||||
push host target:
|
||||
nixos-rebuild switch --flake {{ FLAKE_HOME }}#{{ host }} --target-host {{ target }} | spacer
|
||||
deploy host:
|
||||
deploy {{ FLAKE_HOME }}#{{ host }}
|
||||
|
||||
alias s := switch
|
||||
alias u := update
|
||||
alias p := push
|
||||
alias d := deploy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue