From b54cc1dda4f7a1fe7aa7c98880ec99ded39126da Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 18 Sep 2020 03:49:06 -0300 Subject: Initial setup of matrix with mautrix-whatsapp --- TODOs.org | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'TODOs.org') 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"; +''; -- cgit v1.2.3