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