From 9d02b6600e33309c5e9d3f112f6c341cf95710b2 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 29 Oct 2023 23:53:58 +0530 Subject: [PATCH] update postgres auth config --- hosts/rico1/services/postgresql.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/rico1/services/postgresql.nix b/hosts/rico1/services/postgresql.nix index 5e7b96f..1b4f2b0 100644 --- a/hosts/rico1/services/postgresql.nix +++ b/hosts/rico1/services/postgresql.nix @@ -1,6 +1,9 @@ _: { services.postgresql = { enable = true; + authentication = '' + host dendrite dendrite 127.0.0.1/32 trust + ''; ensureDatabases = ["dendrite"]; ensureUsers = [ {