defiant: Add koillection

This commit is contained in:
2024-12-01 11:21:55 +01:00
parent 8b6089f014
commit b4b74227c3
4 changed files with 72 additions and 3 deletions

View File

@@ -2,7 +2,11 @@
{
services.postgresql = {
enable = true;
enableTCPIP = false;
enableTCPIP = true;
authentication = ''
host all all 172.16.0.0/12 md5
'';
};
services.postgresqlBackup = {
@@ -14,5 +18,8 @@
databases = [ ];
};
# Docker containers on this host can reach postgres
networking.firewall.extraCommands = "iptables -A INPUT -p tcp --destination-port 5432 -s 172.16.0.0/12 -j ACCEPT";
environment.systemPackages = [ config.services.postgresql.package ];
}