From c96db92ecd3f6651595a71557274c24ad588c7b7 Mon Sep 17 00:00:00 2001 From: Jet Pham Date: Fri, 20 Feb 2026 01:08:41 -0800 Subject: [PATCH] feat: add store optimization and aggresive gc --- configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index a4e27b1..1338b26 100644 --- a/configuration.nix +++ b/configuration.nix @@ -189,9 +189,10 @@ # Enable automatic garbage collection to prevent old generations from slowing boot nix.gc = { automatic = true; - dates = "weekly"; - options = "--delete-older-than 30d"; + dates = "daily"; + options = "--delete-older-than 7d"; }; + nix.settings.auto-optimise-store = true; # Optimize Nix for RAM - use more memory for builds nix.settings = {