debloat justfile
This commit is contained in:
parent
93eda136f5
commit
ab0244aeb3
1 changed files with 0 additions and 14 deletions
14
justfile
14
justfile
|
@ -1,28 +1,14 @@
|
|||
# Shamelessly taken from https://github.com/getchoo/flake/blob/d80d49cc7652ea84810c4688212c48277dfc71be/justfile
|
||||
|
||||
alias b := build
|
||||
alias c := check
|
||||
alias s := switch
|
||||
alias t := test
|
||||
|
||||
default:
|
||||
@just --choose
|
||||
|
||||
[linux]
|
||||
build *args:
|
||||
nixos-rebuild build --flake . {{ args }}
|
||||
nix run n#nvd -- diff /run/current-system/ result/
|
||||
|
||||
check:
|
||||
nix flake check
|
||||
|
||||
[linux]
|
||||
switch *args:
|
||||
sudo nixos-rebuild switch --flake . --keep-going {{ args }}
|
||||
|
||||
[linux]
|
||||
test:
|
||||
sudo nixos-rebuild test --flake .
|
||||
|
||||
update: (switch "--recreate-lock-file")
|
||||
nix-index
|
||||
|
|
Loading…
Reference in a new issue