From c573da7c347f8d7c8c9083fc5740fd4e502e2233 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Sun, 24 Nov 2024 15:36:30 +0000 Subject: [PATCH] misc: tone down aggression on nix garbage collector --- common/misc.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/misc.nix b/common/misc.nix index e470d54..af95d1b 100644 --- a/common/misc.nix +++ b/common/misc.nix @@ -1,7 +1,11 @@ { config, lib, pkgs, ... }: { - nix.gc.automatic = true; + nix.gc = { + automatic = true; + dates = "weekly"; + randomizedDelaySec = "45min"; + }; nix.optimise.automatic = true; services.fstrim.enable = true; } \ No newline at end of file