feat(capytal,chat): voice calls support

This commit is contained in:
Guz
2026-02-21 16:27:12 -03:00
parent 6619a5eac7
commit 84d4c06e91

View File

@@ -20,6 +20,13 @@
support_role = "m.role.admin";
support_email = "admin@capytal.cc";
support_mxid = "@admin:capytal.cc";
rtc_focus_server_urls = [
{
type = "livekit";
livekit_service_url = "https://livekit.capytal.cc";
}
];
};
};
};
@@ -144,5 +151,28 @@
'';
};
services.livekit = {
enable = true;
settings = {
port = 9410;
bind_addresses = ["0.0.0.0"];
rtc = {
tcp_port = 9411;
port_range_start = 50100;
port_range_end = 50200;
use_external_ip = true;
enable_loopback_candidate = false;
};
};
keyFile = config.sops.secrets."livekit/key_file".path;
};
services.lk-jwt-service = {
enable = true;
port = 9412;
keyFile = config.sops.secrets."livekit/key_file".path;
livekitUrl = "wss://livekit.capytal.cc";
};
nixpkgs.config.permittedInsecurePackages = ["olm-3.2.16"];
}