refactor: Clean up Justfile recipes

This commit is contained in:
punkfairie 2025-01-11 20:21:29 -08:00
parent cae6ef50d1
commit 2a74a0b7b9
No known key found for this signature in database
GPG key ID: B3C5488E9A1A7CA6

View file

@ -7,16 +7,16 @@ defuser := env_var('USER')
alias dh := deployhome alias dh := deployhome
[group('home')] [group('home')]
deployhome user=defuser host=defhost: deployhome user=defuser host=defhost:
nh home switch -c {{user}}@{{host}} -b bak . -- --impure nh home switch -c {{user}}@{{host}} -b bak .
[group('home')] [group('home')]
refreshhome: refreshhome user=defuser host=defhost:
home-manager switch --refresh -b bak --flake . nh home switch -c {{user}}@{{host}} -b bak . -- --refresh
alias do := deployos alias do := deployos
[group('nixos')] [group('nixos')]
deployos host=defhost: deployos host=defhost:
nh os switch -H {{host}} . -- --impure nh os switch -H {{host}} .
alias dd := deploydarwin alias dd := deploydarwin
[group('darwin')] [group('darwin')]