diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-28 17:31:17 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-28 17:42:48 +0200 |
commit | af4c0db5194480bb18b082dc2f5d47a402261a3c (patch) | |
tree | efa10f8eaf936564d99c323af0cd3990605cefc2 | |
parent | pkgs/sharkey: 2025.2.2 -> 2025.2.3 (diff) | |
download | nixos-server-postgrsql-rescue.zip |
modules/matrix: Provide postgresql with a correct sql statement postgrsql-rescue
-rw-r--r-- | modules/by-name/ma/matrix/module.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/by-name/ma/matrix/module.nix b/modules/by-name/ma/matrix/module.nix index f34ecf4..ae3f04e 100644 --- a/modules/by-name/ma/matrix/module.nix +++ b/modules/by-name/ma/matrix/module.nix @@ -63,8 +63,8 @@ in { "d /etc/matrix 0755 matrix-synapse matrix-synapse" ]; services.postgresql.postStart = '' - $PSQL -tAc "ALTER ROLE matrix-synapse WITH ENCRYPTED PASSWORD 'synapse';" - $PSQL -tAc "ALTER ROLE mautrix-whatsapp WITH ENCRYPTED PASSWORD 'whatsapp';" + $PSQL -tAc "ALTER ROLE \"matrix-synapse\" WITH PASSWORD 'synapse';" + $PSQL -tAc "ALTER ROLE \"mautrix-whatsapp\" WITH PASSWORD 'whatsapp';" ''; }; |