Optimize nix store and crank up the gc

This commit is contained in:
2020-09-03 02:36:54 +02:00
parent 4b57f49353
commit f166ba76d8

View File

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