Change garbage collector frequency to 2 weeks

This commit is contained in:
coolneng 2020-10-28 01:18:25 +01:00
parent 534bc27c86
commit 07ab2ed249
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

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