Skip to content

Commit

Permalink
modules (postgresql): Fix IP configuration
Browse files Browse the repository at this point in the history
The IP mask was missing. 32 indicates it has to be this exact IP address.
  • Loading branch information
britter committed Jul 9, 2024
1 parent 37d6d9d commit 7a39085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/nixos/postgresql/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ in {
];
enableTCPIP = true;
authentication = ''
# type database user IP auth
host nextcloud nextcloud ${config.my.homelab.cyberoffice.ip} md5
# type database user IP auth
host nextcloud nextcloud ${config.my.homelab.cyberoffice.ip}/32 md5
'';
};

Expand Down

0 comments on commit 7a39085

Please sign in to comment.