about summary refs log tree commit diff stats
path: root/modules/by-name
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-18 20:57:37 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-18 20:57:37 +0100
commit3c44feef85c704c5a8ba9dd8e49babc793b005af (patch)
tree396f7f955719a81df1ba1ac39768d05196e3c02c /modules/by-name
parentmodules/anubis: Make sure ngnix is actually enabled (diff)
downloadnixos-server-3c44feef85c704c5a8ba9dd8e49babc793b005af.zip
modules/matrix: Remove failing postgresql post-start code HEAD main
This code stops postgrsql from starting.
Diffstat (limited to 'modules/by-name')
-rw-r--r--modules/by-name/ma/matrix/module.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/by-name/ma/matrix/module.nix b/modules/by-name/ma/matrix/module.nix
index ae3f04e..39631ef 100644
--- a/modules/by-name/ma/matrix/module.nix
+++ b/modules/by-name/ma/matrix/module.nix
@@ -62,10 +62,12 @@ in {
       tmpfiles.rules = [
         "d /etc/matrix 0755 matrix-synapse matrix-synapse"
       ];
-      services.postgresql.postStart = ''
-        $PSQL -tAc "ALTER ROLE \"matrix-synapse\" WITH PASSWORD 'synapse';"
-        $PSQL -tAc "ALTER ROLE \"mautrix-whatsapp\" WITH PASSWORD 'whatsapp';"
-      '';
+      # TODO: Do we still need this? <2025-12-18>
+      # The `$PSQL` env var seemed to go away between the 25.05 -> 25.11 update
+      # services.postgresql.postStart = ''
+      #   $PSQL -tAc "ALTER ROLE \"matrix-synapse\" WITH PASSWORD 'synapse';"
+      #   $PSQL -tAc "ALTER ROLE \"mautrix-whatsapp\" WITH PASSWORD 'whatsapp';"
+      # '';
     };
 
     services = {