at main 269 B view raw
1{ lib, ... }: 2{ 3 services.postgresql = { 4 enable = true; 5 enableTCPIP = true; 6 7 authentication = lib.mkForce '' 8 local all all peer 9 host all all 127.0.0.1/32 scram-sha-256 10 host all all ::1/128 scram-sha-256 11 ''; 12 }; 13}