nixos/prosody: remove vcard_muc as it has been obsoloted

Sadly I did not find a way to use lib.mkRemovedOptionModule for this
option that did not break eval. :(
This commit is contained in:
Sandro Jäckel 2025-08-01 04:26:51 +02:00
parent 187ee9d895
commit c26ed9f391
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 1 additions and 7 deletions

View File

@ -369,11 +369,6 @@ let
kick other. Useful in jitsi-meet to kick ghosts.
'';
};
vcard_muc = mkOption {
type = types.bool;
default = true;
description = "Adds the ability to set vCard for Multi User Chat rooms";
};
# Extra parameters. Defaulting to prosody default values.
# Adding them explicitly to make them visible from the options
@ -579,7 +574,7 @@ let
${lib.concatMapStrings (muc: ''
Component ${toLua muc.domain} "muc"
modules_enabled = { "muc_mam"; ${optionalString muc.vcard_muc ''"vcard_muc";''} ${optionalString muc.allowners_muc ''"muc_allowners";''} }
modules_enabled = { "muc_mam"; ${optionalString muc.allowners_muc ''"muc_allowners";''} }
name = ${toLua muc.name}
restrict_room_creation = ${toLua muc.restrictRoomCreation}
max_history_messages = ${toLua muc.maxHistoryMessages}

View File

@ -49,7 +49,6 @@ stdenv.mkDerivation (finalAttrs: {
# default setup.
nixosModuleDeps = [
"cloud_notify"
"vcard_muc"
"http_upload"
];