WIP: Livekit
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../nixos/roles/nginx.nix
|
../../nixos/roles/nginx.nix
|
||||||
../../nixos/roles/matrix/livekit.nix
|
../../nixos/roles/matrix/livekit.nix
|
||||||
../../nixos/roles/jitsi.nix
|
# ../../nixos/roles/jitsi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
sops.secrets.livekit_key_sfu = { };
|
sops.secrets.livekit_key_sfu = { };
|
||||||
|
|
||||||
@@ -27,4 +27,15 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
networking.firewall.allowedTCPPorts = [ 7881 ];
|
||||||
|
|
||||||
|
systemd.services.livekit.serviceConfig = {
|
||||||
|
PrivateUsers = lib.mkForce false;
|
||||||
|
RestrictAddressFamilies = lib.mkForce [
|
||||||
|
"AF_INET"
|
||||||
|
"AF_INET6"
|
||||||
|
"AF_NETLINK"
|
||||||
|
"AF_UNIX"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user