Skip to content

Commit

Permalink
modules (postgresql): Open postgres port in firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Jul 10, 2024
1 parent a584c1e commit ee9f447
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/nixos/postgresql/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ in {
EOF
'';
};

networking.firewall.allowedTCPPorts = [config.services.postgresql.settings.port];
}

0 comments on commit ee9f447

Please sign in to comment.