From 4b136696a2623b7d145a000ba8674b015942d517 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Sat, 27 Jun 2020 16:02:02 +0200 Subject: [PATCH] Revert "mbsync: remove unneeded extraConfig.channel" This reverts commit 941c4771caa4bd87307666b431d70cbe57f7f4b5. To support backwards compatibility, I need to leave this field/option in the module, even if it will likely be more confusing to do it this way. --- modules/programs/mbsync-accounts.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/modules/programs/mbsync-accounts.nix b/modules/programs/mbsync-accounts.nix index fc0bbc5d..c1bd551f 100644 --- a/modules/programs/mbsync-accounts.nix +++ b/modules/programs/mbsync-accounts.nix @@ -179,6 +179,20 @@ in { ''; }; + extraConfig.channel = mkOption { + type = extraConfigType; + default = { }; + example = literalExample '' + { + MaxMessages = 10000; + MaxSize = "1m"; + }; + ''; + description = '' + Per channel extra configuration. + ''; + }; + extraConfig.local = mkOption { type = extraConfigType; default = { };