From eb557507d07ba7402ad474d2c982bc35ce649fdd Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Sun, 5 Jan 2025 14:27:55 +0000 Subject: [PATCH] misc: garbage-collect nixos profiles older than 30 days --- common/misc.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/common/misc.nix b/common/misc.nix index af95d1b..3061e72 100644 --- a/common/misc.nix +++ b/common/misc.nix @@ -5,6 +5,7 @@ automatic = true; dates = "weekly"; randomizedDelaySec = "45min"; + options = "--delete-older-than 30d"; }; nix.optimise.automatic = true; services.fstrim.enable = true;