Optimize nix store and crank up the gc

This commit is contained in:
coolneng 2020-09-03 02:36:54 +02:00
parent 4b57f49353
commit f166ba76d8
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 1 deletions

View File

@ -32,9 +32,10 @@
# Run Nix garbage collector, while avoiding compiling
nix = {
autoOptimiseStore = true;
gc = {
automatic = true;
options = "--delete-older-than 14d";
options = "--delete-older-than 7d";
dates = "14:30";
};
extraOptions = ''