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
[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')]