From 4db8ce0222ce41cf8ed3351f4b131d69994fb028 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 10 Sep 2024 01:57:04 -0700 Subject: Bump --- modules/nix/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'modules/nix/default.nix') 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" ]; - }; }; } -- cgit v1.2.3