From c76c5cc0a3d367a3e9650924b35c201c681f10f1 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Fri, 7 Feb 2025 04:13:50 +0100 Subject: [PATCH] Allow the postgres user to connect to the postgres database --- nix/module.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/module.nix b/nix/module.nix index bc8d3aa..018af08 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -224,6 +224,7 @@ in ensureDatabases = [ cfg.databaseName ]; extensions = ps: with ps; [ pgjwt ]; authentication = lib.mkOverride 11 '' + local postgres postgres trust local ${cfg.databaseName} all trust ''; };