From e8b4bc6b81fbd7acae6c8d9f8663ce668517ad3c Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Fri, 5 Dec 2025 23:22:11 -0500 Subject: [PATCH] nix: add gc --- configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configuration.nix b/configuration.nix index 00d8e64..fc608e0 100644 --- a/configuration.nix +++ b/configuration.nix @@ -86,6 +86,13 @@ nix = { # optimize the store optimise.automatic = true; + + # garbage collection + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; }; hardware.intelgpu.driver = "xe";