add automatic gc to servers
This commit is contained in:
parent
f081efd17e
commit
56282c8ba6
3 changed files with 15 additions and 1 deletions
|
|
@ -62,5 +62,10 @@
|
|||
allowedTCPPorts = [ 22 80 443 8000 ];
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 60d";
|
||||
}
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue