From e49dd18446dc57bc921b6ffe37983d6068eab7e4 Mon Sep 17 00:00:00 2001 From: pazpi Date: Tue, 22 Jul 2025 13:52:33 +0200 Subject: [PATCH] Set the frequency for GC --- modules/utils/commons.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/utils/commons.nix b/modules/utils/commons.nix index 94bc7d5..1c034d4 100644 --- a/modules/utils/commons.nix +++ b/modules/utils/commons.nix @@ -49,6 +49,7 @@ in gc = lib.mkIf cfg.gc.enable { # Auto delete old generations automatic = true; + dates = "weekly"; options = "--delete-older-than 2d"; }; };