1
0
Fork 0

allow local peer connections to postgresql

This commit is contained in:
ibizaman 2023-11-06 19:43:00 -08:00
parent 67f1bf0216
commit d71e94b0bc

View file

@ -42,10 +42,11 @@ in
services.postgresql.port = port;
services.postgresql.authentication = lib.mkOverride 10 ''
#type database DBuser origin-address auth-method
local all all peer
# ipv4
host all all 127.0.0.1/32 trust
host all all 127.0.0.1/32 trust
# ipv6
host all all ::1/128 trust
host all all ::1/128 trust
'';
};