feat: Add Justfile recipe for remote deployment
This commit is contained in:
parent
751b803693
commit
9db01f37fb
1 changed files with 7 additions and 0 deletions
7
Justfile
7
Justfile
|
@ -18,6 +18,13 @@ alias do := deployos
|
||||||
deployos host=defhost:
|
deployos host=defhost:
|
||||||
nh os switch -H {{host}} .
|
nh os switch -H {{host}} .
|
||||||
|
|
||||||
|
alias dro := deployRemoteOs
|
||||||
|
[group('nixos')]
|
||||||
|
deployRemoteOs host:
|
||||||
|
nixos-rebuild switch --flake .#{{host}} \
|
||||||
|
--target-host root@{{host}} \
|
||||||
|
--verbose --log-format internal-json &| nom --json
|
||||||
|
|
||||||
alias dd := deploydarwin
|
alias dd := deploydarwin
|
||||||
[group('darwin')]
|
[group('darwin')]
|
||||||
deploydarwin host=defhost:
|
deploydarwin host=defhost:
|
||||||
|
|
Loading…
Reference in a new issue