feat: add store optimization and aggresive gc
This commit is contained in:
parent
9ef458d62a
commit
c96db92ecd
1 changed files with 3 additions and 2 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue