From ecaa179aad48d564717224fece5c311954b11e58 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Tue, 23 Apr 2024 19:29:01 +0200 Subject: [PATCH] enable registration matrix --- systems/hetzner/matrix.nix | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/systems/hetzner/matrix.nix b/systems/hetzner/matrix.nix index 33f8692..0db1d4c 100644 --- a/systems/hetzner/matrix.nix +++ b/systems/hetzner/matrix.nix @@ -61,19 +61,25 @@ in services.matrix-synapse = { enable = true; - settings.server_name = "missing.ninja"; - settings.public_baseurl = baseUrl; - settings.listeners = [ - { port = 8008; - bind_addresses = [ "::1" ]; - type = "http"; - tls = false; - x_forwarded = true; - resources = [ { - names = [ "client" "federation" ]; - compress = true; - } ]; - } - ]; + settings = { + server_name = "missing.ninja"; + enable_registration = true; + public_baseurl = baseUrl; + listeners = [ + { + port = 8008; + bind_addresses = [ "::1" ]; + type = "http"; + tls = false; + x_forwarded = true; + resources = [ + { + names = [ "client" "federation" ]; + compress = true; + } + ]; + } + ]; + }; }; }