From 138368964d148867329ac5b03260fbcd2d8e13b1 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Fri, 20 Nov 2020 10:36:17 +0100 Subject: [PATCH] matrix: fix whitespace --- matrix.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/matrix.nix b/matrix.nix index 6adf83b..597e9e6 100644 --- a/matrix.nix +++ b/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