From 8ee8de4d3ff5a25ac5f6347a39eab83dd720dbc9 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Thu, 29 Dec 2022 12:00:37 +0100 Subject: [PATCH] services: add turn to matrix --- modules/services/server/coturn.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/services/server/coturn.nix b/modules/services/server/coturn.nix index e55eb8c..1a6e490 100644 --- a/modules/services/server/coturn.nix +++ b/modules/services/server/coturn.nix @@ -62,11 +62,11 @@ group = "turnserver"; }; # configure synapse to point users to coturn -# services.matrix-synapse = with config.services.coturn; { -# turn_uris = ["turn:${realm}:3478?transport=udp" "turn:${realm}:3478?transport=tcp"]; -# turn_shared_secret = static-auth-secret; -# turn_user_lifetime = "1h"; -# }; + services.matrix-synapse = with config.services.coturn; { + turn_uris = ["turn:${realm}:3478?transport=udp" "turn:${realm}:3478?transport=tcp"]; + turn_shared_secret = static-auth-secret; + turn_user_lifetime = "1h"; + }; age.secrets."services/coturn/static-auth" = { file = ../../../secrets/services/coturn/static-auth.age;