1
0
複製 0

Auto optimize storage

master
dump_stack() 2019-04-12 17:42:03 +00:00 committed by Mikhail Klementev
父節點 0672f93d16
當前提交 f118ba0912
共有 1 個文件被更改,包括 7 次插入3 次删除

查看文件

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