Enable matrix server notices
This change allows the system account, which we already use for moderation, to
send notices to users
Change-Id: I91a2d729307b334db564155a6e68f227efff05af
Reviewed-on: https://git.clicks.codes/c/Clicks/NixFiles/+/28
Tested-by: Skyler Grey <minion@clicks.codes>
Reviewed-by: Samuel Shuert <coded@clicks.codes>
diff --git a/modules/common/matrix.nix b/modules/common/matrix.nix
index 2694826..d87732f 100644
--- a/modules/common/matrix.nix
+++ b/modules/common/matrix.nix
@@ -78,6 +78,12 @@
};
"disable_existing_loggers" = false;
} [ builtins.toJSON (builtins.toFile "logcfg.yaml") ];
+
+ server_notices = {
+ system_mxid_localpart = "system";
+ system_mxid_display_name = "Clicks Administrators";
+ room_name = "Announcements";
+ };
};
};