diff --git a/modules/nixos/postgresql/default.nix b/modules/nixos/postgresql/default.nix index 126632f..c3fb83a 100644 --- a/modules/nixos/postgresql/default.nix +++ b/modules/nixos/postgresql/default.nix @@ -47,4 +47,6 @@ in { EOF ''; }; + + networking.firewall.allowedTCPPorts = [config.services.postgresql.settings.port]; }