From a009b05977a0e20cdc6a9876c10aa8767b67b389 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 16 Feb 2025 02:01:29 +0100 Subject: [PATCH] bicep/matrix/coturn: coturn is actually fixed --- hosts/bicep/services/matrix/coturn.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/bicep/services/matrix/coturn.nix b/hosts/bicep/services/matrix/coturn.nix index 075a4ef..b7346d7 100644 --- a/hosts/bicep/services/matrix/coturn.nix +++ b/hosts/bicep/services/matrix/coturn.nix @@ -48,6 +48,9 @@ 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 = { AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ]; }; @@ -66,7 +69,7 @@ listening-ips = [ values.services.turn.ipv4 - # values.services.turn.ipv6 + values.services.turn.ipv6 ]; tls-listening-port = 443;