refactor(just): General improvements
This commit is contained in:
parent
5b6d131011
commit
49cf979f3b
1 changed files with 7 additions and 1 deletions
8
Justfile
8
Justfile
|
@ -1,14 +1,20 @@
|
|||
default:
|
||||
@just --list
|
||||
|
||||
alias d := deploy
|
||||
[group('activate')]
|
||||
deploy:
|
||||
nix run .#activate
|
||||
|
||||
alias dh := deployhome
|
||||
[group('home')]
|
||||
[group('activate')]
|
||||
deployhome user=env_var('USER'):
|
||||
nix run .#activate {{user}}@
|
||||
|
||||
[group('home')]
|
||||
refreshhome:
|
||||
home-manager switch --refresh --impure -b bak --flake .
|
||||
home-manager switch --refresh -b bak --flake .
|
||||
|
||||
alias up := update
|
||||
update:
|
||||
|
|
Loading…
Reference in a new issue