fixed element-calling
This commit is contained in:
@@ -42,6 +42,7 @@ lib.mkIf config.sovran_systemsOS.features.element-calling {
|
|||||||
services.livekit = {
|
services.livekit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
package = pkgs.livekit;
|
||||||
settings = {
|
settings = {
|
||||||
rtc.use_external_ip = true;
|
rtc.use_external_ip = true;
|
||||||
rtc.udp_port = "7882-7894";
|
rtc.udp_port = "7882-7894";
|
||||||
@@ -65,12 +66,9 @@ lib.mkIf config.sovran_systemsOS.features.element-calling {
|
|||||||
|
|
||||||
####### JWT SERVICE #######
|
####### JWT SERVICE #######
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
lk-jwt-service
|
|
||||||
];
|
|
||||||
|
|
||||||
services.lk-jwt-service = {
|
services.lk-jwt-service = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.lk-jwt-service;
|
||||||
port = 8073;
|
port = 8073;
|
||||||
livekitUrl = "wss://${personalization.element-calling_url}";
|
livekitUrl = "wss://${personalization.element-calling_url}";
|
||||||
keyFile = "/var/lib/livekit/livekit_keyFile";
|
keyFile = "/var/lib/livekit/livekit_keyFile";
|
||||||
|
|||||||
Reference in New Issue
Block a user