diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-25 14:29:49 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-25 14:29:49 +0100 |
commit | 2c288d5ea310736a9b6088c7f04e42517b5b12a3 (patch) | |
tree | 5b47bf85d88e2648505abf35418a9e1551827bd2 /hosts/surtr/matrix/default.nix | |
parent | be35f03e74f87ab87535903650b4e8176f4a2704 (diff) | |
download | nixos-2c288d5ea310736a9b6088c7f04e42517b5b12a3.tar nixos-2c288d5ea310736a9b6088c7f04e42517b5b12a3.tar.gz nixos-2c288d5ea310736a9b6088c7f04e42517b5b12a3.tar.bz2 nixos-2c288d5ea310736a9b6088c7f04e42517b5b12a3.tar.xz nixos-2c288d5ea310736a9b6088c7f04e42517b5b12a3.zip |
surtr: ma1sd: remove
Diffstat (limited to 'hosts/surtr/matrix/default.nix')
-rw-r--r-- | hosts/surtr/matrix/default.nix | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix index b07f9fe2..53b0bdc4 100644 --- a/hosts/surtr/matrix/default.nix +++ b/hosts/surtr/matrix/default.nix | |||
@@ -38,9 +38,6 @@ | |||
38 | "/run/credentials/matrix-synapse.service/registration.yaml" | 38 | "/run/credentials/matrix-synapse.service/registration.yaml" |
39 | "/run/credentials/matrix-synapse.service/turn-secret.yaml" | 39 | "/run/credentials/matrix-synapse.service/turn-secret.yaml" |
40 | ]; | 40 | ]; |
41 | extraConfig = '' | ||
42 | default_identity_server: https://synapse.li | ||
43 | ''; | ||
44 | }; | 41 | }; |
45 | sops.secrets."matrix-synapse-registration.yaml" = { | 42 | sops.secrets."matrix-synapse-registration.yaml" = { |
46 | format = "binary"; | 43 | format = "binary"; |
@@ -243,36 +240,5 @@ | |||
243 | owner = "turnserver"; | 240 | owner = "turnserver"; |
244 | group = "turnserver"; | 241 | group = "turnserver"; |
245 | }; | 242 | }; |
246 | |||
247 | services.mxisd = { | ||
248 | enable = true; | ||
249 | matrix.domain = "synapse.li"; | ||
250 | server = { | ||
251 | name = "localhost"; | ||
252 | port = 8090; | ||
253 | }; | ||
254 | extraConfig = { | ||
255 | matrix = { | ||
256 | v1 = true; | ||
257 | v2 = true; | ||
258 | }; | ||
259 | hashing = { | ||
260 | enabled = true; | ||
261 | rotationPolicy = "per_requests"; | ||
262 | hashStorageType = "sql"; | ||
263 | algorithms = ["sha256"]; | ||
264 | requests = 10; | ||
265 | }; | ||
266 | server.publicUrl = "https://synapse.li"; | ||
267 | storage = { | ||
268 | backend = "postgresql"; | ||
269 | provider.postgresql = { | ||
270 | database = "//file%3A%2F%2F%2Frun%2Fpostgresql%2F.s.PGSQL.5432/mxisd?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory%24URIScheme"; | ||
271 | }; | ||
272 | }; | ||
273 | forward.servers = ["matrix-org"]; | ||
274 | invite.resolution.recursive = false; | ||
275 | }; | ||
276 | }; | ||
277 | }; | 243 | }; |
278 | } | 244 | } |