From 47511008d3fdf9bb920e5c31d03e4ee3a5fdaa7c Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Tue, 9 Jan 2024 14:52:19 +0100 Subject: [PATCH] feat(modules/nixos/nix/gc): decrease garbage collection frequency --- modules/nixos/nix/gc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/nix/gc/default.nix b/modules/nixos/nix/gc/default.nix index dbbd3d8..0cfa910 100644 --- a/modules/nixos/nix/gc/default.nix +++ b/modules/nixos/nix/gc/default.nix @@ -8,7 +8,7 @@ config = lib.mkIf config.modules.nixos.nix.gc.enable { nix.gc = { automatic = true; - dates = "weekly"; + dates = "monthly"; options = "--delete-older-than 30d"; }; };