enable gc and optimizations
This commit is contained in:
parent
e6dfb4c508
commit
3d090d65e6
1 changed files with 8 additions and 0 deletions
|
|
@ -54,6 +54,14 @@
|
||||||
|
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
|
|
||||||
|
# Optimizations and garbage collection
|
||||||
|
nix.optimise.automatic = true;
|
||||||
|
nix.optimise.dates = [ "03:45" ];
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue