diff --git a/config/endpoints/matrix.nix b/config/endpoints/matrix.nix index fa6ffc6..7135226 100644 --- a/config/endpoints/matrix.nix +++ b/config/endpoints/matrix.nix @@ -50,7 +50,19 @@ in content = { contentType = "application/json"; status = 200; - body = ''{"m.homeserver":{"base_url":"https://${net.devices.remote_proxy.domain}"}}''; + body = '' + { + "m.homeserver": { + "base_url": "https://${net.devices.remote_proxy.domain}" + }, + "org.matrix.msc4143.rtc_foci": [ + { + "type": "livekit", + "livekit_service_url": "https://livekit.${net.devices.remote_proxy.domain}/livekit/jwt" + } + ] + } + ''; }; } ] \ No newline at end of file