updated synapse.nix

This commit is contained in:
naturallaw77 2024-12-16 17:51:15 -08:00
parent 318fabd306
commit 322f3c924c

View File

@ -44,12 +44,10 @@ in
]; ];
url_preview_ip_ranger_whitelist = [ "127.0.0.1" ]; url_preview_ip_ranger_whitelist = [ "127.0.0.1" ];
turn_shared_secret = "${personalization.coturn_static_auth_secret}"; turn_shared_secret = "${personalization.coturn_static_auth_secret}";
turn_uris = [ turn_uris = [
"turn:${personalization.matrix_url}:5349?transport=udp" "turn:${personalization.matrix_url}:5349?transport=udp"
"turn:${personalization.matrix_url}:5349?transport=tcp" "turn:${personalization.matrix_url}:5349?transport=tcp"
"turns:${personalization.matrix_url}:5349?transport=udp" ];
"turns:${personalization.matrix_url}:5349?transport=tcp"
];
presence.enabled = true; presence.enabled = true;
enable_registration = false; enable_registration = false;
registration_shared_secret = config.age.secrets.matrix_reg_secret.path; registration_shared_secret = config.age.secrets.matrix_reg_secret.path;