From 15ed945bbf05737220960bf92a9510b89a184396 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 29 Jun 2025 01:10:14 -0400 Subject: [PATCH] Add auto garbage collection for everything over 30 days. --- nodes/hosts/common/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nodes/hosts/common/configuration.nix b/nodes/hosts/common/configuration.nix index 4c04a18..28cef33 100644 --- a/nodes/hosts/common/configuration.nix +++ b/nodes/hosts/common/configuration.nix @@ -4,6 +4,7 @@ config.allowUnfree = true; }; nix = { + gc.options = "--delete-older-than 30d"; optimise.automatic = true; extraOptions = '' experimental-features = nix-command flakes