refactor(just): General improvements

This commit is contained in:
punkfairie 2024-11-13 20:01:43 -08:00
parent 5b6d131011
commit 49cf979f3b
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -1,14 +1,20 @@
default: default:
@just --list @just --list
alias d := deploy
[group('activate')]
deploy:
nix run .#activate
alias dh := deployhome alias dh := deployhome
[group('home')] [group('home')]
[group('activate')]
deployhome user=env_var('USER'): deployhome user=env_var('USER'):
nix run .#activate {{user}}@ nix run .#activate {{user}}@
[group('home')] [group('home')]
refreshhome: refreshhome:
home-manager switch --refresh --impure -b bak --flake . home-manager switch --refresh -b bak --flake .
alias up := update alias up := update
update: update: