setup automatic garbage collection (#39)
This commit is contained in:
parent
b31e82cf48
commit
a8bd1609e9
1 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,9 @@ in
|
||||||
security.acme.email = "trash@nix-community.org";
|
security.acme.email = "trash@nix-community.org";
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
|
|
||||||
|
nix.gc.automatic = true;
|
||||||
|
nix.gc.options = "--delete-older-than 30d";
|
||||||
|
|
||||||
system.stateVersion = "20.03";
|
system.stateVersion = "20.03";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue