From 9afafb3f3e43116f4c9376f4f2e5675115514082 Mon Sep 17 00:00:00 2001 From: Annika Merris Date: Sat, 13 Jul 2024 13:19:41 -0400 Subject: [PATCH] Turn on automatic garbage collection --- hosts/kim/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/kim/default.nix b/hosts/kim/default.nix index 6e3c3bb..8a021f5 100644 --- a/hosts/kim/default.nix +++ b/hosts/kim/default.nix @@ -101,6 +101,12 @@ inputs.nixpkgs.lib.nixosSystem { }; }; }; + + nix.gc = { + automatic = true; + randomizedDelaySec = "14m"; + options = "--delete-older-than 10d"; + }; } ]; }