From 46587be3be18b1b73c13a484d181839a7e98565b Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Fri, 9 Dec 2022 06:38:15 +0100 Subject: [PATCH] base: nix-gc delete generations older than 2d --- base.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/base.nix b/base.nix index 87d1c806..b3857c5a 100644 --- a/base.nix +++ b/base.nix @@ -26,6 +26,7 @@ ]; }; nix.gc.automatic = true; + nix.gc.options = "--delete-older-than 2d"; nix.settings.experimental-features = [ "nix-command" "flakes" ];