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 = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
authentication = pkgs.lib.mkOverride 10 ''
|
authentication = pkgs.lib.mkOverride 10 ''
|
||||||
local all all trust
|
local all all trust
|
||||||
host dendrite dendrite trust
|
host all all 127.0.0.1/32 trust
|
||||||
|
host all all ::1/128 trust
|
||||||
'';
|
'';
|
||||||
ensureDatabases = ["dendrite"];
|
ensureDatabases = ["dendrite"];
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
|
|
Loading…
Reference in a new issue