From c7f912947a66b14dfc3655d8eff19c27d67cf679 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Fri, 7 Feb 2025 03:55:28 +0100 Subject: [PATCH] Restrict module postgres settings to archtika database --- nix/module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/module.nix b/nix/module.nix index 14b8e43..bc8d3aa 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -224,7 +224,7 @@ in ensureDatabases = [ cfg.databaseName ]; extensions = ps: with ps; [ pgjwt ]; authentication = lib.mkOverride 11 '' - local all all trust + local ${cfg.databaseName} all trust ''; };