mbsync: add extraConfig option for easier-to-format options
These are options that can be handled by the `genSection` function in the `genAccountFunction`, so they are left to the user to decide. Most of these are made on a global basis anyways.
This commit is contained in:
parent
c62cb82e65
commit
fb3c246fe0
|
@ -89,6 +89,22 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
extraConfig = mkOption {
|
||||
type = extraConfigType;
|
||||
default = { };
|
||||
example = ''
|
||||
{
|
||||
Create = "both";
|
||||
CopyArrivalDate = "yes";
|
||||
MaxMessages = 10000;
|
||||
MaxSize = "1m";
|
||||
}
|
||||
'';
|
||||
description = ''
|
||||
Extra configuration lines to add to <emphasis>THIS</emphasis> channel's
|
||||
configuration.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue