From 03b35dea36ba09e2097eb3754900741feeb80f9a Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Thu, 28 Aug 2025 23:16:53 +0200 Subject: [PATCH] Enable auto gc --- common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common.nix b/common.nix index 781ecec..d4762da 100644 --- a/common.nix +++ b/common.nix @@ -29,6 +29,12 @@ ]; auto-optimise-store = true; }; + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + persistent = true; + }; }; system.configurationRevision = lib.mkIf (inputs.self ? rev) inputs.self.rev;