diff options
author | Pierre Bourdon <delroth@gmail.com> | 2022-03-12 16:33:46 +0100 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2022-03-12 21:58:26 +0100 |
commit | 9fad223ad1d5ab3810e17cdb9323fe49f478f51c (patch) | |
tree | 7d3f3460087f6133f006ce3335d17c5fa5fa2f86 /nixos/modules/services/matrix/matrix-synapse.xml | |
parent | 605f21e375f0065868023874988164766e7896b0 (diff) | |
download | nixpkgs-9fad223ad1d5ab3810e17cdb9323fe49f478f51c.tar nixpkgs-9fad223ad1d5ab3810e17cdb9323fe49f478f51c.tar.gz nixpkgs-9fad223ad1d5ab3810e17cdb9323fe49f478f51c.tar.bz2 nixpkgs-9fad223ad1d5ab3810e17cdb9323fe49f478f51c.tar.lz nixpkgs-9fad223ad1d5ab3810e17cdb9323fe49f478f51c.tar.xz nixpkgs-9fad223ad1d5ab3810e17cdb9323fe49f478f51c.tar.zst nixpkgs-9fad223ad1d5ab3810e17cdb9323fe49f478f51c.zip |
matrix-synapse: fix release notes and doc for #158605 changes
Diffstat (limited to 'nixos/modules/services/matrix/matrix-synapse.xml')
-rw-r--r-- | nixos/modules/services/matrix/matrix-synapse.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/matrix/matrix-synapse.xml b/nixos/modules/services/matrix/matrix-synapse.xml index cdc4b4de1a7..cf33957d58e 100644 --- a/nixos/modules/services/matrix/matrix-synapse.xml +++ b/nixos/modules/services/matrix/matrix-synapse.xml @@ -119,7 +119,7 @@ in { <link linkend="opt-services.matrix-synapse.settings.listeners">listeners</link> = [ { <link linkend="opt-services.matrix-synapse.settings.listeners._.port">port</link> = 8008; - <link linkend="opt-services.matrix-synapse.settings.listeners._.bind_addresses">bind_address</link> = [ "::1" ]; + <link linkend="opt-services.matrix-synapse.settings.listeners._.bind_addresses">bind_addresses</link> = [ "::1" ]; <link linkend="opt-services.matrix-synapse.settings.listeners._.type">type</link> = "http"; <link linkend="opt-services.matrix-synapse.settings.listeners._.tls">tls</link> = false; <link linkend="opt-services.matrix-synapse.settings.listeners._.x_forwarded">x_forwarded</link> = true; @@ -152,10 +152,10 @@ in { <para> If you want to run a server with public registration by anybody, you can - then enable <literal><link linkend="opt-services.matrix-synapse.settings.enable_registration">services.matrix-synapse.enable_registration</link> = + then enable <literal><link linkend="opt-services.matrix-synapse.settings.enable_registration">services.matrix-synapse.settings.enable_registration</link> = true;</literal>. Otherwise, or you can generate a registration secret with <command>pwgen -s 64 1</command> and set it with - <option><link linkend="opt-services.matrix-synapse.settings.registration_shared_secret">services.matrix-synapse.registration_shared_secret</link></option>. + <option><link linkend="opt-services.matrix-synapse.settings.registration_shared_secret">services.matrix-synapse.settings.registration_shared_secret</link></option>. To create a new user or admin, run the following after you have set the secret and have rebuilt NixOS: <screen> |