Change garbage collector frequency to 2 weeks

This commit is contained in:
2020-10-28 01:18:25 +01:00
parent 534bc27c86
commit 07ab2ed249

View File

@@ -73,11 +73,11 @@
allowReboot = true; allowReboot = true;
}; };
# Run Nix garbage collector, while avoiding compiling # Run Nix garbage collector
nix = { nix = {
gc = { gc = {
automatic = true; automatic = true;
options = "--delete-older-than 30d"; options = "--delete-older-than 14d";
}; };
extraOptions = '' extraOptions = ''
keep-outputs = true keep-outputs = true