add ip mask to the host statement

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-26 18:48:59 +01:00
parent 4c1e31f791
commit 490a5a8148
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -13,8 +13,8 @@
enableTCPIP = true;
package = pkgs.postgresql_17_jit;
authentication = lib.mkForce ''
local all all peer
host all all 127.0.0.1 scram-sha-256
local all all peer
host all all 127.0.0.1/32 scram-sha-256
'';
};
services.postgresqlBackup = {