From 95e96dddc0fef63c41b506f92c1902466ea569ad Mon Sep 17 00:00:00 2001 From: blit Date: Sat, 17 Feb 2024 17:42:17 +0700 Subject: [PATCH] Change nix.gc settings --- common/modules/nix-settings.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/modules/nix-settings.nix b/common/modules/nix-settings.nix index 741d6e2..de59442 100644 --- a/common/modules/nix-settings.nix +++ b/common/modules/nix-settings.nix @@ -9,8 +9,9 @@ gc = { automatic = true; - dates = "weekly"; - options = "--delete-older-than 3d"; + dates = "daily"; + options = "--delete-older-than 7d"; + randomizedDelaySec = "30m"; }; settings.auto-optimise-store = true;