mirror of
https://github.com/nix-community/home-manager
synced 2024-10-01 02:37:27 +02:00
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
1 changed files with 16 additions and 0 deletions
|
@ -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