feat: add store optimization and aggresive gc

This commit is contained in:
Jet Pham 2026-02-20 01:08:41 -08:00
parent 9ef458d62a
commit c96db92ecd
No known key found for this signature in database

View file

@ -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 = {