1
0
Fork 0
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:
Ryan Cao 2023-07-24 21:20:01 +08:00
parent d6dc4e7b99
commit 9792ef3711
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E

View file

@ -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