From 00ca645ce78fe0dac7d25e997c3f174ceb146694 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Wed, 27 Feb 2019 13:31:43 +0100 Subject: [PATCH] matrix-synapse: activation preview URL et upload permis plus gros --- systems/LoutreOS/services.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/systems/LoutreOS/services.nix b/systems/LoutreOS/services.nix index 0a9ad17..a76d502 100644 --- a/systems/LoutreOS/services.nix +++ b/systems/LoutreOS/services.nix @@ -250,15 +250,14 @@ in x_forwarded = true; } ]; + max_upload_size = "100M"; database_type = "psycopg2"; database_args = { database = "matrix-synapse"; }; tls_private_key_path = "/var/lib/acme/${domaine}/key.pem"; tls_certificate_path = "/var/lib/acme/${domaine}/fullchain.pem"; - extraConfig = '' - max_upload_size: "100M" - ''; + url_preview_enabled = true; logConfig = '' version: 1