commit fde18e69487b00964735120e192461ce8dc7f462 parent d31b083003db9f9bbbf08fe93750d6833cfca993 Author: MTRNord <mtrnord1@gmail.com> Date: Tue, 8 Aug 2023 21:42:25 +0200 add gc option Diffstat:
| M | nixos/worker-1/configuration.nix | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -58,6 +58,12 @@ # Deduplicate and optimize nix store auto-optimise-store = true; }; + + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 60d"; + }; }; # General stuff