Browse Source

Auto garbage collect

master
dump_stack() 2 years ago
parent
commit
0672f93d16
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      configuration.nix

+ 4
- 0
configuration.nix View File

@@ -51,4 +51,8 @@ in {

system.autoUpgrade.enable = true;
system.stateVersion = "18.09";

nix.gc.automatic = true;
nix.gc.dates = "weekly";
nix.gc.options = "--delete-older-than 30d";
}

Loading…
Cancel
Save