1
0
Fork 0

Auto optimize storage

master
dump_stack() 2019-04-12 17:41:59 +00:00 committed by Mikhail Klementev
parent 583467ffd4
commit 4e87fba917
1 changed files with 7 additions and 3 deletions

View File

@ -65,7 +65,11 @@ in {
system.stateVersion = "18.09"; system.stateVersion = "18.09";
system.autoUpgrade.enable = true; system.autoUpgrade.enable = true;
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";
};
};
} }