From f5b4dd3e09b1a59987369d175ccbd1cf3fefadc7 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Mon, 30 Oct 2023 01:13:52 +0530 Subject: [PATCH] update postgres auth config --- hosts/rico1/services/postgresql.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/rico1/services/postgresql.nix b/hosts/rico1/services/postgresql.nix index 7faa16f..f1e147f 100644 --- a/hosts/rico1/services/postgresql.nix +++ b/hosts/rico1/services/postgresql.nix @@ -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 = [