summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/surtr/matrix/default.nix8
1 files 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 @@
249 port = 8090; 249 port = 8090;
250 }; 250 };
251 extraConfig = { 251 extraConfig = {
252 matrix = {
253 v1 = false;
254 v2 = true;
255 };
256 hashing.enabled = true;
252 server.publicUrl = "https://synapse.li"; 257 server.publicUrl = "https://synapse.li";
253 storage = { 258 storage = {
254 backend = "postgresql"; 259 backend = "postgresql";
255 provider.postgresql = { 260 provider.postgresql = {
256 database = "//localhost:5432/ma1sd"; 261 database = "//file%3A%2F%2F%2Frun%2Fpostgresql%2F.s.PGSQL.5432/ma1sd?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory%24URIScheme";
257 username = "ma1sd";
258 }; 262 };
259 }; 263 };
260 forward.servers = ["matrix.org"]; 264 forward.servers = ["matrix.org"];