diff --git a/modules/services/server/postgresql.nix b/modules/services/server/postgresql.nix index 6be682c..658f2c4 100644 --- a/modules/services/server/postgresql.nix +++ b/modules/services/server/postgresql.nix @@ -30,7 +30,7 @@ host signaldb mautrixsignal samehost scram-sha-256 host keycloakdb keycloak samehost scram-sha-256 ''; - initialScript = config.age.secrets."services/postgresql/initScript".path; + initialScript = config.age.secrets."services/postgresql/initScript.sql".path; ensureDatabases = [ "giteadb" "nextclouddb" @@ -88,7 +88,7 @@ services.postgresqlBackup.enable = true; - age.secrets."services/postgresql/initScript" = { + age.secrets."services/postgresql/initScript.sql" = { file = ../../../secrets/services/postgresql/initScript.age; owner = "postgres"; }; diff --git a/secrets/services/postgresql/initScript.age b/secrets/services/postgresql/initScript.age index e6bab0c..22a77e3 100644 Binary files a/secrets/services/postgresql/initScript.age and b/secrets/services/postgresql/initScript.age differ