1
0
Forka 0

Auto optimize storage

master
dump_stack() 2019-04-12 17:41:59 +00:00 committato da Mikhail Klementev
parent 583467ffd4
commit 4e87fba917
1 ha cambiato i file con 7 aggiunte e 3 eliminazioni

Vedi 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";
};
};
}