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 = {