From ae1def6432002b8222d41555e6037c08e3ab6229 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Fri, 22 Mar 2024 15:19:03 +0100 Subject: [PATCH] Garbage collect older than 7d, not 14d --- system/nix/gc.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/nix/gc.nix b/system/nix/gc.nix index 67eae77..31b52f0 100644 --- a/system/nix/gc.nix +++ b/system/nix/gc.nix @@ -7,14 +7,14 @@ _: { auto-optimise-store = true; }; - # Enable automatic garbage collection, deleting entries older than 14 days - # you can also run this manually with `nix-store --gc --delete-older-than 14d`. + # Enable automatic garbage collection, deleting entries older than 7 days + # you can also run this manually with `nix-store --gc --delete-older-than 7d`. # If a result still exists in the file system, all the dependencies used to build # it will be kept. gc = { automatic = true; dates = "weekly"; - options = "--delete-older-than 14d"; + options = "--delete-older-than 7d"; }; # Also run garbage colleciton whenever there is not enough space left,