about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-11-12 13:27:15 +0900
committersefidel <contact@sefidel.net>2023-11-12 17:12:53 +0900
commit78df22317c990d056896002b711383ec4166a2a8 (patch)
treed4451f5ebb2d97cae01ac9ef256345e36c14934a
parent6418848d748d6ce1a3de55af7da8a22802af5729 (diff)
downloadinfra-78df22317c990d056896002b711383ec4166a2a8.tar.gz
infra-78df22317c990d056896002b711383ec4166a2a8.zip
feat(modules/matrix-moderation): add module to synapse
-rw-r--r--modules/services/matrix-moderation.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/services/matrix-moderation.nix b/modules/services/matrix-moderation.nix
index 7bb4c14..0b1dcc2 100644
--- a/modules/services/matrix-moderation.nix
+++ b/modules/services/matrix-moderation.nix
@@ -48,6 +48,8 @@ in
       listenPort = 8011;
     };
 
+    services.matrix-synapse.plugins = with config.services.matrix-synapse.package.plugins; [ matrix-synapse-mjolnir-antispam ];
+
     environment.persistence."/persist".directories = [
       "/var/lib/private/pantalaimon-mjolnir"
       "/var/lib/mjolnir"