From dc15345242c62172a04cc6b9726584a58694d06d Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 27 Jun 2022 14:37:44 +1000 Subject: [PATCH] matrix: disabled registration without verification --- profiles/matrix.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/profiles/matrix.nix b/profiles/matrix.nix index de5a222..ea05358 100644 --- a/profiles/matrix.nix +++ b/profiles/matrix.nix @@ -19,7 +19,7 @@ enable = true; # Enable the synapse server settings = { enable_registration = true; # Toggle user registration - enable_registration_without_verification = true; + enable_registration_without_verification = false; extraConfig = '' enable_group_creation: true # Allow users to create communities ''; @@ -147,6 +147,11 @@ }; }; + services.postgresqlBackup = { + enable = true; + compression = "zstd"; + }; + services.postgresqlBackup.databases = ["matrix-synapse"]; security.acme = {