Add clean function
This commit is contained in:
parent
b583d82e5d
commit
90497bbdd0
1 changed files with 5 additions and 0 deletions
5
run
5
run
|
@ -8,6 +8,11 @@ function build {
|
||||||
_nixos build "$@"
|
_nixos build "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function clean {
|
||||||
|
nix store optimise --verbose
|
||||||
|
nix store gc --verbose
|
||||||
|
}
|
||||||
|
|
||||||
function check {
|
function check {
|
||||||
nix flake check
|
nix flake check
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue