feat: add livekit

This commit is contained in:
Katharina Heidenreich 2026-04-05 20:25:28 +02:00
parent fb98563bb6
commit eee6905637
9 changed files with 384 additions and 109 deletions

View file

@ -0,0 +1,29 @@
let
serviceConfig = import ../services.nix;
cfg = serviceConfig.livekit;
in
[
{
type = "proxy";
listenPort = 443;
domain = cfg.domain;
endpoint = "/livekit/jwt/";
force_ssl = true;
content = {
host = "127.0.0.1";
port = cfg.jwt_port;
};
}
{
type = "proxy";
listenPort = 443;
domain = cfg.domain;
endpoint = "/livekit/sfu/";
force_ssl = true;
content = {
host = "127.0.0.1";
port = cfg.port;
websocket = true;
};
}
]