From 3cd0eeaaa9651fe5860c372b6fe2086de09d83ab Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 17 Apr 2025 08:25:10 -0500 Subject: [PATCH] Add automatic nix-gc. --- base.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/base.nix b/base.nix index a021db9..6f93591 100644 --- a/base.nix +++ b/base.nix @@ -20,4 +20,9 @@ environment.variables.EDITOR = "vim"; programs.appimage.binfmt = true; + + nix.gc = { + automatic = true; + options = "--delete-older-than 30d"; + }; }