diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-25 13:50:38 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-25 13:50:38 +0100 |
commit | d32915c061ec628d87ec615b583cd136685284d4 (patch) | |
tree | ad3fcd3745680b9f7708617421fd842133cdb2dd /hosts/surtr/matrix | |
parent | b4293d801ec6d4d3e92f67afb95fc919bdbf9a2e (diff) | |
download | nixos-d32915c061ec628d87ec615b583cd136685284d4.tar nixos-d32915c061ec628d87ec615b583cd136685284d4.tar.gz nixos-d32915c061ec628d87ec615b583cd136685284d4.tar.bz2 nixos-d32915c061ec628d87ec615b583cd136685284d4.tar.xz nixos-d32915c061ec628d87ec615b583cd136685284d4.zip |
surtr: ma1sd: ...
Diffstat (limited to 'hosts/surtr/matrix')
-rw-r--r-- | hosts/surtr/matrix/default.nix | 8 |
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"]; |