Revert "mbsync: remove unneeded extraConfig.channel"

This reverts commit 941c4771ca.

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.
This commit is contained in:
Karl Hallsby 2020-06-27 16:02:02 +02:00
parent 05cf64b9f9
commit 4b136696a2

View file

@ -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 = { };