Add automatic garbage collection
This commit is contained in:
parent
1d4087ea37
commit
a729149931
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
{ hostname, username }:
|
{ hostname, username }:
|
||||||
{
|
{
|
||||||
nix = {
|
nix = {
|
||||||
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
optimise.automatic = true;
|
optimise.automatic = true;
|
||||||
settings = {
|
settings = {
|
||||||
builders-use-substitutes = true;
|
builders-use-substitutes = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue