Matrix: Difference between revisions
m services.matrix-conduit.* options are available now. |
services.matrix-conduit.* options are available now. |
||
| Line 46: | Line 46: | ||
=== Homeservers === | === Homeservers === | ||
==== Conduit ==== | |||
<syntaxhighlight lang="nixos"> | |||
{ | |||
# See https://search.nixos.org/options?channel=unstable&query=services.matrix-conduit. | |||
# and https://docs.conduit.rs/configuration.html | |||
services.matrix-conduit = { | |||
enable = true; | |||
settings.global = { | |||
# allow_registration = true; | |||
# server_name = yourDomainName; | |||
# port = yourPort; | |||
address = (if config.networking.enableIPv6 then "::1" else "127.0.0.1"); | |||
database_backend = "rocksdb"; | |||
# See https://www.metered.ca/tools/openrelay | |||
turn_uris = [ | |||
"turn:staticauth.openrelay.metered.ca:80?transport=udp" | |||
"turn:staticauth.openrelay.metered.ca:80?transport=tcp" | |||
]; | |||
turn_secret = "openrelayprojectsecret"; | |||
}; | |||
}; | |||
} | |||
</syntaxhighlight> | |||
==== Synapse ==== | ==== Synapse ==== | ||