matrix: fix whitespace

This commit is contained in:
Michele Guerini Rocco 2020-11-20 10:36:17 +01:00
parent 4e35de5594
commit 138368964d
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

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