1
0

Auto optimize storage

This commit is contained in:
dump_stack() 2019-04-12 17:41:59 +00:00 committed by Mikhail Klementev
parent 583467ffd4
commit 4e87fba917

View File

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