From e6afe01bce2f3d47f51c36926a7b6685b697b8af Mon Sep 17 00:00:00 2001 From: specCon18 Date: Tue, 15 Aug 2023 04:17:59 -0400 Subject: [PATCH] added GC to katana. --- machines/katana.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/machines/katana.nix b/machines/katana.nix index eea732b..6a77d1a 100644 --- a/machines/katana.nix +++ b/machines/katana.nix @@ -19,7 +19,13 @@ # Prevent tampering of the pkgstore readOnlyNixStore = true; }; - + nix = { + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; + }; fileSystems."/" = { device = "/dev/disk/by-uuid/55c746b3-b9dc-4c9b-ab56-de68a561f9a3"; fsType = "ext4";