chore(postgresql): avoid deprecated setting

This commit is contained in:
arcnmx 2024-04-13 15:51:41 -07:00
parent 1321db76a7
commit 5f356a2e1a

View file

@ -91,10 +91,10 @@ in {
};
config.networking.firewall.interfaces = {
local = mkIf cfg.enable {
allowedTCPPorts = mkIf (any (user: user.authentication.local.allow) cfg.ensureUsers) [cfg.port];
allowedTCPPorts = mkIf (any (user: user.authentication.local.allow) cfg.ensureUsers) [cfg.settings.port];
};
int = mkIf cfg.enable {
allowedTCPPorts = mkIf (any (user: user.authentication.int.allow) cfg.ensureUsers) [cfg.port];
allowedTCPPorts = mkIf (any (user: user.authentication.int.allow) cfg.ensureUsers) [cfg.settings.port];
};
};
}