services: matrix turn fix syntax

This commit is contained in:
2022-12-30 13:53:31 +01:00
parent 91c5be61fd
commit 5bcdd956f9

View File

@@ -62,10 +62,9 @@
group = "turnserver";
};
# configure synapse to point users to coturn
services.matrix-synapse = with config.services.coturn; {
services.matrix-synapse.settings = 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" = {