Compare commits
2 commits
ef96515b36
...
49cf979f3b
Author | SHA1 | Date | |
---|---|---|---|
49cf979f3b | |||
5b6d131011 |
1 changed files with 9 additions and 4 deletions
13
Justfile
13
Justfile
|
@ -1,15 +1,20 @@
|
|||
default:
|
||||
@just --list
|
||||
|
||||
alias d := deploy
|
||||
[group('activate')]
|
||||
deploy:
|
||||
nix run .#activate
|
||||
|
||||
alias dh := deployhome
|
||||
[group('home')]
|
||||
deployhome:
|
||||
# Impure is required for NixGL with proprietary Nvidia drivers :(
|
||||
home-manager switch --impure -b bak --flake .
|
||||
[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