haumea: drop listen_address configuration
This means it will listen on localhost and via unix socket only.
Martin Weinelt committed
Dec 17, 2025 at 18:38 UTC
4f8e3af628de65ade11f10b4758976a1727a9dfd
1 file changed
-5
build/haumea/postgresql.nix
-5
@@ -1,6 +1,5 @@
1
{
2
config,
3
- lib,
3
pkgs,
4
...
5
}:
@@ -16,8 +15,6 @@
15
'';
16
};
17
19
- networking.firewall.interfaces."vlan4000".allowedTCPPorts = [ 5432 ];
20
-
18
services.postgresql = {
19
enable = true;
20
enableJIT = true;
@@ -25,8 +22,6 @@
22
dataDir = "/var/db/postgresql/16";
23
# https://pgtune.leopard.in.ua/#/
24
settings = {
28
- listen_addresses = lib.mkForce "10.0.40.1";
29
-
25
# https://vadosware.io/post/everything-ive-seen-on-optimizing-postgres-on-zfs-on-linux/#zfs-related-tunables-on-the-postgres-side
26
full_page_writes = "off";
27