feat: Add Just recipe for nh os
This commit is contained in:
parent
04407ae45f
commit
e65fde6ead
1 changed files with 5 additions and 0 deletions
5
Justfile
5
Justfile
|
@ -13,6 +13,11 @@ deployhome user=defuser host=defhost:
|
||||||
refreshhome:
|
refreshhome:
|
||||||
home-manager switch --refresh -b bak --flake .
|
home-manager switch --refresh -b bak --flake .
|
||||||
|
|
||||||
|
alias do := deployos
|
||||||
|
[group('nixos')]
|
||||||
|
deployos host=defhost:
|
||||||
|
nh os switch -H {{host}} . -- --impure
|
||||||
|
|
||||||
alias dd := deploydarwin
|
alias dd := deploydarwin
|
||||||
[group('darwin')]
|
[group('darwin')]
|
||||||
deploydarwin host=defhost:
|
deploydarwin host=defhost:
|
||||||
|
|
Loading…
Reference in a new issue