From 6f775f9bce47da58e130c96831a3a1f7481b1bcb Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Wed, 19 Nov 2025 22:53:32 +0100 Subject: [PATCH] base: Automatic Nix GC --- modules/base.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/base.nix b/modules/base.nix index b4e454d..d13d10f 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -5,4 +5,10 @@ vim rsync ]; + + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; }