From 896331cefbcf4cbaaebbf3c49dc55a4bd9345f49 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Wed, 26 Mar 2025 20:49:45 +0100 Subject: [PATCH] Dalinar: Enble automatic garbage collect --- hosts/dalinar/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/dalinar/default.nix b/hosts/dalinar/default.nix index f1ad30c..a762fb6 100644 --- a/hosts/dalinar/default.nix +++ b/hosts/dalinar/default.nix @@ -34,6 +34,12 @@ }; }; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + networking = { hostName = "dalinar"; nftables.enable = true;