aboutsummaryrefslogtreecommitdiff
path: root/TODOs.org
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-09-18 03:49:06 -0300
committerEuAndreh <eu@euandre.org>2020-09-18 14:02:03 -0300
commitb54cc1dda4f7a1fe7aa7c98880ec99ded39126da (patch)
tree52387a187aa2126681302609536994d1b609b27f /TODOs.org
parentDisable pires-prod service (diff)
downloadserver-b54cc1dda4f7a1fe7aa7c98880ec99ded39126da.tar.gz
server-b54cc1dda4f7a1fe7aa7c98880ec99ded39126da.tar.xz
Initial setup of matrix with mautrix-whatsapp
Diffstat (limited to 'TODOs.org')
-rw-r--r--TODOs.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/TODOs.org b/TODOs.org
index 0504aef..2d60619 100644
--- a/TODOs.org
+++ b/TODOs.org
@@ -138,3 +138,11 @@ magnitute harder for the attacker.
** Enable 2FA for Nextcloud?
Do XMPP support that too?
* Scrath
+initialScript = pkgs.writeText "synapse-init.sql" ''
+ CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD '${synapseDBPassword}';
+
+ CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
+ TEMPLATE template0
+ LC_COLLATE = "C"
+ LC_CTYPE = "C";
+'';