mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 07:04:17 +00:00
offlineimap: add an extraConfig for the account section
This commit is contained in:
parent
fa62c5afb6
commit
f247b3b99b
2 changed files with 13 additions and 1 deletions
|
@ -12,6 +12,17 @@ in
|
|||
options.offlineimap = {
|
||||
enable = mkEnableOption "OfflineIMAP";
|
||||
|
||||
extraConfig.account = mkOption {
|
||||
type = extraConfigType;
|
||||
default = {};
|
||||
example = {
|
||||
autorefresh = 20;
|
||||
};
|
||||
description = ''
|
||||
Extra configuration options to add to the account section.
|
||||
'';
|
||||
};
|
||||
|
||||
extraConfig.local = mkOption {
|
||||
type = extraConfigType;
|
||||
default = {};
|
||||
|
|
|
@ -88,7 +88,8 @@ let
|
|||
localrepository = "${name}-local";
|
||||
remoterepository = "${name}-remote";
|
||||
}
|
||||
// postSyncHook;
|
||||
// postSyncHook
|
||||
// offlineimap.extraConfig.account;
|
||||
|
||||
"Repository ${name}-local" = {
|
||||
type = localType;
|
||||
|
|
Loading…
Reference in a new issue