refactor: Clean up Justfile recipes
This commit is contained in:
parent
cae6ef50d1
commit
2a74a0b7b9
1 changed files with 4 additions and 4 deletions
8
Justfile
8
Justfile
|
@ -7,16 +7,16 @@ defuser := env_var('USER')
|
|||
alias dh := deployhome
|
||||
[group('home')]
|
||||
deployhome user=defuser host=defhost:
|
||||
nh home switch -c {{user}}@{{host}} -b bak . -- --impure
|
||||
nh home switch -c {{user}}@{{host}} -b bak .
|
||||
|
||||
[group('home')]
|
||||
refreshhome:
|
||||
home-manager switch --refresh -b bak --flake .
|
||||
refreshhome user=defuser host=defhost:
|
||||
nh home switch -c {{user}}@{{host}} -b bak . -- --refresh
|
||||
|
||||
alias do := deployos
|
||||
[group('nixos')]
|
||||
deployos host=defhost:
|
||||
nh os switch -H {{host}} . -- --impure
|
||||
nh os switch -H {{host}} .
|
||||
|
||||
alias dd := deploydarwin
|
||||
[group('darwin')]
|
||||
|
|
Loading…
Reference in a new issue