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
|
# Enable automatic garbage collection to prevent old generations from slowing boot
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "daily";
|
||||||
options = "--delete-older-than 30d";
|
options = "--delete-older-than 7d";
|
||||||
};
|
};
|
||||||
|
nix.settings.auto-optimise-store = true;
|
||||||
|
|
||||||
# Optimize Nix for RAM - use more memory for builds
|
# Optimize Nix for RAM - use more memory for builds
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue