diff options
Diffstat (limited to 'modules/nix/default.nix')
| -rw-r--r-- | modules/nix/default.nix | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix index e6a5b08..a916862 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -10,6 +10,9 @@ programs.nix-index-database.comma.enable = true; nix = { + gc.automatic = true; + optimise.automatic = true; + settings = { auto-optimise-store = true; http-connections = 0; @@ -74,16 +77,5 @@ "dynamic-derivations" ]; }; - - gc = { - automatic = true; - dates = "03:00"; - options = "--delete-older-than 3d"; - }; - - optimise = { - automatic = true; - dates = [ "04:00" ]; - }; }; } |