mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
feat: add delete-old and gc scripts
This commit is contained in:
parent
d6dc4e7b99
commit
9792ef3711
1 changed files with 4 additions and 0 deletions
4
justfile
4
justfile
|
|
@ -1,2 +1,6 @@
|
||||||
switch:
|
switch:
|
||||||
darwin-rebuild switch --flake . --show-trace
|
darwin-rebuild switch --flake . --show-trace
|
||||||
|
delete-old:
|
||||||
|
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old
|
||||||
|
gc:
|
||||||
|
nix store gc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue