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
|
# Shamelessly taken from https://github.com/getchoo/flake/blob/d80d49cc7652ea84810c4688212c48277dfc71be/justfile
|
||||||
|
|
||||||
alias b := build
|
|
||||||
alias c := check
|
alias c := check
|
||||||
alias s := switch
|
alias s := switch
|
||||||
alias t := test
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@just --choose
|
@just --choose
|
||||||
|
|
||||||
[linux]
|
|
||||||
build *args:
|
|
||||||
nixos-rebuild build --flake . {{ args }}
|
|
||||||
nix run n#nvd -- diff /run/current-system/ result/
|
|
||||||
|
|
||||||
check:
|
check:
|
||||||
nix flake check
|
nix flake check
|
||||||
|
|
||||||
[linux]
|
[linux]
|
||||||
switch *args:
|
switch *args:
|
||||||
sudo nixos-rebuild switch --flake . --keep-going {{ 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