matrix: fix whitespace
This commit is contained in:
parent
4e35de5594
commit
138368964d
16
matrix.nix
16
matrix.nix
@ -16,7 +16,7 @@ let
|
||||
brand = "Maxwell matrix";
|
||||
defaultCountryCode = "IT";
|
||||
showLabsSettings = true;
|
||||
|
||||
|
||||
# Use a trusted Jitsi instance
|
||||
jitsi.preferredDomain = "jitsi.openspeed.org";
|
||||
jitsi.externalApiUrl = "https://jitsi.openspeed.org/libs/external_api.min.js";
|
||||
@ -117,7 +117,7 @@ in
|
||||
filters: [context]
|
||||
SYSLOG_IDENTIFIER: synapse
|
||||
root:
|
||||
level: WARN
|
||||
level: WARN
|
||||
handlers: [journal]
|
||||
disable_existing_loggers: False
|
||||
'';
|
||||
@ -131,7 +131,7 @@ in
|
||||
# Needed to restrict access to the TURN
|
||||
# server to only our matrix users.
|
||||
turn_shared_secret = config.secrets.matrix.turn;
|
||||
# Needed by the register_new_matrix_user script
|
||||
# Needed by the register_new_matrix_user script
|
||||
registration_shared_secret = config.secrets.matrix.registration;
|
||||
};
|
||||
|
||||
@ -153,13 +153,13 @@ in
|
||||
# needed for reliable VoIP.
|
||||
services.coturn = {
|
||||
enable = true;
|
||||
|
||||
|
||||
# Only allow users vouched for
|
||||
# by the Matrix server.
|
||||
lt-cred-mech = true;
|
||||
use-auth-secret = true;
|
||||
static-auth-secret = config.secrets.matrix.turn;
|
||||
|
||||
|
||||
# Use maxwell certificate for TLS
|
||||
realm = config.var.hostname;
|
||||
cert = "/var/lib/acme/${config.var.hostname}/fullchain.pem";
|
||||
@ -167,12 +167,12 @@ in
|
||||
|
||||
# Port range for TURN relaying
|
||||
min-port = 49152;
|
||||
max-port = 49999;
|
||||
|
||||
max-port = 49999;
|
||||
|
||||
# Enable TLS
|
||||
secure-stun = true;
|
||||
no-tcp-relay = false;
|
||||
|
||||
|
||||
extraConfig = ''
|
||||
external-ip=${config.var.ipAddress}
|
||||
cipher-list=HIGH
|
||||
|
Loading…
Reference in New Issue
Block a user