nixos/prosody: wire up modules.mam option

This commit is contained in:
Sandro Jäckel
2025-08-03 21:35:33 +02:00
parent 445cd5701d
commit a302465e0e
@@ -559,7 +559,7 @@ let
${lib.concatMapStrings (muc: ''
Component ${toLua muc.domain} "muc"
modules_enabled = { "muc_mam"; ${optionalString muc.allowners_muc ''"muc_allowners";''} }
modules_enabled = {${optionalString cfg.modules.mam ''" muc_mam";''}${optionalString muc.allowners_muc ''" muc_allowners";''} }
name = ${toLua muc.name}
restrict_room_creation = ${toLua muc.restrictRoomCreation}
max_history_messages = ${toLua muc.maxHistoryMessages}