bvm-matrix: set more secrets
This commit is contained in:
parent
169524b65a
commit
1c08774667
1 changed files with 5 additions and 1 deletions
|
@ -123,7 +123,8 @@ in {
|
|||
services.matrix-synapse = {
|
||||
enable = true;
|
||||
server_name = "zxcvbnm.ninja";
|
||||
macaroon_secret_key = machineSecrets.macaroonSecretKey;
|
||||
macaroon_secret_key = machineSecrets.matrix.macaroonSecretKey;
|
||||
registration_shared_secret = machineSecrets.matrix.registrationSecret;
|
||||
turn_uris = [
|
||||
"turn:matrix.zxcvbnm.ninja:3478?transport=udp"
|
||||
"turn:matrix.zxcvbnm.ninja:3478?transport=tcp"
|
||||
|
@ -153,6 +154,9 @@ in {
|
|||
compress = false;
|
||||
}];
|
||||
}];
|
||||
extraConfig = ''
|
||||
form_secret: "${machineSecrets.matrix.formSecret}"
|
||||
'';
|
||||
};
|
||||
|
||||
# Users allowed to use SSL certificate for matrix.zxcvbnm.ninja.
|
||||
|
|
Loading…
Reference in a new issue