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:
|
default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
|
alias d := deploy
|
||||||
|
[group('activate')]
|
||||||
|
deploy:
|
||||||
|
nix run .#activate
|
||||||
|
|
||||||
alias dh := deployhome
|
alias dh := deployhome
|
||||||
[group('home')]
|
[group('home')]
|
||||||
deployhome:
|
[group('activate')]
|
||||||
# Impure is required for NixGL with proprietary Nvidia drivers :(
|
deployhome user=env_var('USER'):
|
||||||
home-manager switch --impure -b bak --flake .
|
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:
|
||||||
|
|
Loading…
Reference in a new issue