update postgres auth config

This commit is contained in:
Adithya 2023-10-30 00:59:51 +05:30
parent 5a0af7fab6
commit 624cd6aec6
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

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