mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
chore(postgresql): avoid deprecated setting
This commit is contained in:
parent
1321db76a7
commit
5f356a2e1a
1 changed files with 2 additions and 2 deletions
|
|
@ -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];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue