From 972a83efac33d8b187bbca5ef301038f97cfb570 Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 2 Apr 2024 13:56:35 +0200 Subject: [PATCH] enable turn --- coturn.nix | 10 +++++----- flake.nix | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/coturn.nix b/coturn.nix index ec5e853..6354b40 100644 --- a/coturn.nix +++ b/coturn.nix @@ -63,10 +63,10 @@ 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"; + }; } diff --git a/flake.nix b/flake.nix index d733922..83072cc 100644 --- a/flake.nix +++ b/flake.nix @@ -19,13 +19,13 @@ ./audiobooks.nix ./tunnel.nix ./forgejo.nix - ./nextcloud.nix + # ./nextcloud.nix ./jellyfin.nix ./filebrowser.nix ./tail.nix ./matrix.nix - (import ./homepage.nix {inherit homepage;}) - # ./coturn.nix # disabled becouse tls not solved + ./coturn.nix # disabled becouse tls not solved + # (import ./homepage.nix {inherit homepage;}) ]; };