Optimize nix store and crank up the gc
This commit is contained in:
parent
4b57f49353
commit
f166ba76d8
|
@ -32,9 +32,10 @@
|
||||||
|
|
||||||
# Run Nix garbage collector, while avoiding compiling
|
# Run Nix garbage collector, while avoiding compiling
|
||||||
nix = {
|
nix = {
|
||||||
|
autoOptimiseStore = true;
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
options = "--delete-older-than 14d";
|
options = "--delete-older-than 7d";
|
||||||
dates = "14:30";
|
dates = "14:30";
|
||||||
};
|
};
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
|
|
Loading…
Reference in New Issue