add automatic gc to servers

This commit is contained in:
2023-11-06 14:28:40 +01:00
parent f081efd17e
commit 56282c8ba6
3 changed files with 15 additions and 1 deletions

View File

@@ -62,5 +62,10 @@
allowedTCPPorts = [ 22 80 443 8000 ];
};
nix.gc = {
automatic = true;
options = "--delete-older-than 60d";
}
system.stateVersion = "23.05";
}