1
0
Fork 0

Auto optimize storage

master
dump_stack() 2019-04-12 17:42:03 +00:00 committed by Mikhail Klementev
parent 0672f93d16
commit f118ba0912
1 changed files with 7 additions and 3 deletions

View File

@ -52,7 +52,11 @@ in {
system.autoUpgrade.enable = true; system.autoUpgrade.enable = true;
system.stateVersion = "18.09"; system.stateVersion = "18.09";
nix.gc.automatic = true; nix = {
nix.gc.dates = "weekly"; optimise.automatic = true;
nix.gc.options = "--delete-older-than 30d"; gc = {
automatic = true;
options = "--delete-older-than 7d";
};
};
} }