update postgres auth config

This commit is contained in:
Adithya 2023-10-30 01:13:52 +05:30
parent 624cd6aec6
commit f5b4dd3e09
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -2,8 +2,9 @@
services.postgresql = {
enable = true;
authentication = pkgs.lib.mkOverride 10 ''
local all all trust
host dendrite dendrite trust
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
'';
ensureDatabases = ["dendrite"];
ensureUsers = [