22 lines
540 B
Nix
22 lines
540 B
Nix
{ config, ... }:
|
|
{
|
|
sops.secrets."matrix/livekit_key_file" = { };
|
|
|
|
services = {
|
|
livekit = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
settings.room.auto_create = false;
|
|
keyFile = config.sops.secrets."matrix/livekit_key_file".path;
|
|
};
|
|
|
|
lk-jwt-service = {
|
|
enable = true;
|
|
livekitUrl = "wss://cyperpunk.de/livekit/sfu";
|
|
keyFile = config.sops.secrets."matrix/livekit_key_file".path;
|
|
};
|
|
};
|
|
|
|
systemd.services.lk-jwt-service.environment.LIVEKIT_FULL_ACCESS_HOMESERVERS = "cyperpunk.de";
|
|
}
|