From a302465e0ed2cc85f92e3534e3ca2cf707dc8dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 1 Aug 2025 04:34:16 +0200 Subject: [PATCH] nixos/prosody: wire up modules.mam option --- nixos/modules/services/networking/prosody.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/prosody.nix b/nixos/modules/services/networking/prosody.nix index 275b90848f27..c270b1465122 100644 --- a/nixos/modules/services/networking/prosody.nix +++ b/nixos/modules/services/networking/prosody.nix @@ -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}