From dfa91d327f8e7db699654a455d927ddd220ea1ca Mon Sep 17 00:00:00 2001 From: John Ogle Date: Mon, 21 Oct 2024 08:42:26 -0700 Subject: [PATCH] [nix] Enable automatic gc --- roles/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/default.nix b/roles/default.nix index 64631b4..7c2b3a4 100644 --- a/roles/default.nix +++ b/roles/default.nix @@ -59,6 +59,12 @@ with lib; "https://hyprland.cachix.org" ]; }; + + gc = { + automatic = true; + randomizedDelaySec = "14m"; + options = "--delete-older-than 10d"; + }; }; nixpkgs.config.allowUnfree = true;