Matrix: Difference between revisions
m expand on how to join the community on matrix |
reword element web; don't show a very insecure configuration by default; remove ad |
||
Line 19: | Line 19: | ||
If this isn't a problem for you, you can install them as usual, and upon evaluation, Nix will helpfully guide you on how to [https://nixos.org/manual/nixpkgs/stable/#sec-allow-insecure install insecure packages]. | If this isn't a problem for you, you can install them as usual, and upon evaluation, Nix will helpfully guide you on how to [https://nixos.org/manual/nixpkgs/stable/#sec-allow-insecure install insecure packages]. | ||
=== Web clients === | === Web clients === | ||
There is a web version of the client [https://element.io/ Element], <code>element-web</code> on Nixpkgs, which you can use as a regular web application. See [https://nixos.org/nixos/manual/index.html#module-services-matrix-element-web the NixOS manual entry].<syntaxhighlight lang="nixos"> | |||
There is | |||
{ | { | ||
services.nginx.enable = true; | services.nginx.enable = true; | ||
Line 70: | Line 68: | ||
settings.global = { | settings.global = { | ||
# allow_registration = true; | # allow_registration = true; | ||
# You will need this token when creating your first account. | |||
# registration_token = "A S3CR3T TOKEN"; | |||
# server_name = yourDomainName; | # server_name = yourDomainName; | ||
# port = yourPort; | # port = yourPort; | ||
address = "::1"; | address = "::1"; | ||
database_backend = "rocksdb"; | database_backend = "rocksdb"; | ||
# See https:// | |||
turn_uris = [ | # See https://docs.conduit.rs/turn.html, and https://github.com/element-hq/synapse/blob/develop/docs/turn-howto.md for more details | ||
# turn_uris = [ | |||
# "turn:your.turn.url?transport=udp" | |||
]; | # "turn:your.turn.url?transport=tcp" | ||
turn_secret = " | # ]; | ||
# turn_secret = "your secret"; | |||
}; | }; | ||
}; | }; |