about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-28 17:31:17 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-05-04 20:00:34 +0200
commita318045ee13050b5743f4fb48487780129a6864b (patch)
tree9f608d9f34b6205bc35ccec9f19cca96ce525d2e
parentmodules/nextcloud: add calendar, contacts, tasks apps (diff)
downloadnixos-server-a318045ee13050b5743f4fb48487780129a6864b.zip
modules/matrix: Provide postgresql with a correct sql statement postgrsql-rescue
Diffstat (limited to '')
-rw-r--r--modules/by-name/ma/matrix/module.nix4
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';"
       '';
     };