forked from clan/clan-infra
dendrite: documentation on how to create users
This commit is contained in:
parent
cd124512bf
commit
49be025fd2
@ -28,6 +28,11 @@ in
|
||||
# $ nix-shell -p dendrite --run 'generate-keys --private-key /tmp/key'
|
||||
sops.secrets.matrix-server-key = { };
|
||||
# $ echo "REGISTRATION_SHARED_SECRET=$(openssl rand -base64 32)"
|
||||
|
||||
# To create a user:
|
||||
# $ password=$(nix run "nixpkgs#xkcdpass" -- -n 3 -d-)
|
||||
# $ shared_secret=$(sops -d --extract '["registration-secret"]' ./secrets.yaml| sed s/REGISTRATION_SHARED_SECRET=//)
|
||||
# $ nix shell "nixpkgs#matrix-synapse" -c register_new_matrix_user --password "${password}" --shared-secret "${shared_secret}" "https://matrix.clan.lol:443"
|
||||
sops.secrets.registration-secret = { };
|
||||
|
||||
services.dendrite = {
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user