Allow the postgres user to connect to the postgres database

This commit is contained in:
thiloho
2025-02-07 04:13:50 +01:00
parent c7f912947a
commit c76c5cc0a3

View File

@@ -224,6 +224,7 @@ in
ensureDatabases = [ cfg.databaseName ]; ensureDatabases = [ cfg.databaseName ];
extensions = ps: with ps; [ pgjwt ]; extensions = ps: with ps; [ pgjwt ];
authentication = lib.mkOverride 11 '' authentication = lib.mkOverride 11 ''
local postgres postgres trust
local ${cfg.databaseName} all trust local ${cfg.databaseName} all trust
''; '';
}; };