diff --git a/modules/services/server/postgresql.nix b/modules/services/server/postgresql.nix index 2de40ac..ef71d04 100644 --- a/modules/services/server/postgresql.nix +++ b/modules/services/server/postgresql.nix @@ -22,23 +22,19 @@ }; authentication = pkgs.lib.mkOverride 14 '' local all postgres peer - local giteadb gitea scram-sha-256 - local nextclouddb nextcloud scram-sha-256 - local synapsedb synapse scram-sha-256 - local whatsappdb mautrixwa scram-sha-256 - local telegramdb mautrixtele scram-sha-256 - local signaldb mautrixsignal scram-sha-256 - local keycloakdb keycloak scram-sha-256 + host giteadb gitea localhost scram-sha-256 + host nextclouddb nextcloud localhost scram-sha-256 + host synapsedb synapse localhost scram-sha-256 + host whatsappdb mautrixwa localhost scram-sha-256 + host telegramdb mautrixtele localhost scram-sha-256 + host signaldb mautrixsignal localhost scram-sha-256 + host keycloakdb keycloak localhost scram-sha-256 ''; initialScript = config.age.secrets."services/postgresql/initScript.sql".path; ensureDatabases = [ - "giteadb" - "nextclouddb" - "synapsedb" "whatsappdb" "telegramdb" "signaldb" - "keycloakdb" ]; ensureUsers = [ { diff --git a/secrets/services/postgresql/initScript.age b/secrets/services/postgresql/initScript.age index 22a77e3..1fb9eb5 100644 Binary files a/secrets/services/postgresql/initScript.age and b/secrets/services/postgresql/initScript.age differ