Compare commits

...

3 Commits

Author SHA1 Message Date
32f0210aca up 2025-12-25 19:23:18 +00:00
d2840e4157 fix 2025-12-25 19:23:18 +00:00
343d99e8a9 shnosh 2025-12-25 19:23:18 +00:00
2 changed files with 14 additions and 0 deletions

View File

@@ -53,4 +53,15 @@
}; };
networking.hostName = hostname; networking.hostName = hostname;
services.postgresql = {
ensureDatabases = ["shnosh"];
ensureUsers = [
{
name = "shnosh";
ensureDBOwnership = true;
ensureClauses.superuser = true;
}
];
};
} }

View File

@@ -23,8 +23,11 @@
host all all 127.0.0.1/32 scram-sha-256 host all all 127.0.0.1/32 scram-sha-256
host all all ::1/128 scram-sha-256 host all all ::1/128 scram-sha-256
host all all 100.64.0.0/10 scram-sha-256 host all all 100.64.0.0/10 scram-sha-256
host all all 172.18.0.0/12 scram-sha-256
''; '';
}; };
networking.firewall.interfaces."docker0".allowedTCPPorts = [5432];
networking.firewall.interfaces."tailscale0".allowedTCPPorts = [5432]; networking.firewall.interfaces."tailscale0".allowedTCPPorts = [5432];
networking.firewall.interfaces."br-+".allowedTCPPorts = [5432];
} }