mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-02-20 15:54:53 +01:00
bicep/matrix/coturn: coturn is actually fixed
This commit is contained in:
parent
8a8f5659fb
commit
a009b05977
@ -48,6 +48,9 @@
|
|||||||
|
|
||||||
users.users.turnserver.extraGroups = [ "acme" ];
|
users.users.turnserver.extraGroups = [ "acme" ];
|
||||||
|
|
||||||
|
# It needs this to be allowed to access the files with the acme group
|
||||||
|
systemd.services.coturn.serviceConfig.PrivateUsers = lib.mkForce false;
|
||||||
|
|
||||||
systemd.services."acme-${config.services.coturn.realm}".serviceConfig = {
|
systemd.services."acme-${config.services.coturn.realm}".serviceConfig = {
|
||||||
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
|
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
|
||||||
};
|
};
|
||||||
@ -66,7 +69,7 @@
|
|||||||
|
|
||||||
listening-ips = [
|
listening-ips = [
|
||||||
values.services.turn.ipv4
|
values.services.turn.ipv4
|
||||||
# values.services.turn.ipv6
|
values.services.turn.ipv6
|
||||||
];
|
];
|
||||||
|
|
||||||
tls-listening-port = 443;
|
tls-listening-port = 443;
|
||||||
|
Loading…
Reference in New Issue
Block a user