update postgres auth config
This commit is contained in:
parent
624cd6aec6
commit
f5b4dd3e09
1 changed files with 3 additions and 2 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue