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

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