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 = {
enable = true;
authentication = ''
local dendrite dendrite trust
authentication = pkgs.lib.mkOverride 10 ''
local all all trust
host dendrite dendrite trust
'';
ensureDatabases = ["dendrite"];
ensureUsers = [