just: gc only after 14 days
This commit is contained in:
1 parent
14ad66fcc8
commit
d424f79871
1 file changed
+1
-1
@@ -11,7 +11,7 @@ update:
|
|||||||
|
|
||||||
# Clean up old generations and optimize store
|
# Clean up old generations and optimize store
|
||||||
gc:
|
gc:
|
||||||
sudo nix-collect-garbage -d
|
sudo nix-collect-garbage --delete-older-than 14d
|
||||||
sudo nix-store --optimise
|
sudo nix-store --optimise
|
||||||
sudo nixos-rebuild boot --flake .#{{host}}
|
sudo nixos-rebuild boot --flake .#{{host}}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user