From d32915c061ec628d87ec615b583cd136685284d4 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 25 Feb 2022 13:50:38 +0100 Subject: surtr: ma1sd: ... --- hosts/surtr/matrix/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix index f55872c0..9f076757 100644 --- a/hosts/surtr/matrix/default.nix +++ b/hosts/surtr/matrix/default.nix @@ -249,12 +249,16 @@ port = 8090; }; extraConfig = { + matrix = { + v1 = false; + v2 = true; + }; + hashing.enabled = true; server.publicUrl = "https://synapse.li"; storage = { backend = "postgresql"; provider.postgresql = { - database = "//localhost:5432/ma1sd"; - username = "ma1sd"; + database = "//file%3A%2F%2F%2Frun%2Fpostgresql%2F.s.PGSQL.5432/ma1sd?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory%24URIScheme"; }; }; forward.servers = ["matrix.org"]; -- cgit v1.2.3