diff --git a/services/matrix-synapse.nix b/services/matrix-synapse.nix index 1b60a54..5c2a209 100644 --- a/services/matrix-synapse.nix +++ b/services/matrix-synapse.nix @@ -84,6 +84,19 @@ services.matrix-synapse = { enable = true; server_name = "hacc.space"; + extraConfigFiles = [ "/var/lib/matrix-synapse/secrets.yml" ]; + extraConfig = '' + public_baseurl: https://matrix.hacc.space + email: + smtp_host: mail.hacc.space + smtp_user: "noreply@infra4future.de" + smtp_port: 587 + notif_from: "Your Friendly %(app)s homeserver " + require_transport_security: true + enable_notifs: true + client_base_url: "https://element.hacc.space" + invite_client_location: "https://element.hacc.space" + ''; listeners = [ { port = 8008; bind_address = "::1";