summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/databases
diff options
context:
space:
mode:
authorSophie Tauchert <sophie@999eagle.moe>2024-02-02 22:55:29 +0100
committerSophie Tauchert <sophie@999eagle.moe>2024-02-15 21:42:27 +0100
commitf6278d4f6a85b1a512b266428c12adc9c8c26f2e (patch)
tree0172740fe673545182e8c092e711197c8ca80864 /nixos/modules/services/databases
parentb89cd583aedd1d4dff6dc1b763d498ab05bb4941 (diff)
nixos/pgbouncer: fix openFirewall option
Diffstat (limited to 'nixos/modules/services/databases')
-rw-r--r--nixos/modules/services/databases/pgbouncer.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/pgbouncer.nix b/nixos/modules/services/databases/pgbouncer.nix
index 4dee50a2a192..157d49c13161 100644
--- a/nixos/modules/services/databases/pgbouncer.nix
+++ b/nixos/modules/services/databases/pgbouncer.nix
@@ -611,7 +611,7 @@ in {
};
};
- networking.firewall.allowedTCPPorts = optional cfg.openFirewall cfg.port;
+ networking.firewall.allowedTCPPorts = optional cfg.openFirewall cfg.listenPort;
};