From 7125ce3f524a473cc3ad7bfbf60e2e11c3db9ac8 Mon Sep 17 00:00:00 2001 From: fleaz Date: Tue, 3 Jan 2023 11:33:22 +0100 Subject: [PATCH] all: Added nix.garbage-collect --- roles/all.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/all.nix b/roles/all.nix index d43b9ba..f0f3450 100644 --- a/roles/all.nix +++ b/roles/all.nix @@ -50,6 +50,12 @@ in console.font = consoleFont config.my.highDPI; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + networking.extraHosts = '' ''; }