1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

mbsync: add option to add extra account configuration

This commit is contained in:
Will Dietz 2018-10-03 13:35:04 -05:00
parent 36da7a918f
commit 5770dc58b9
2 changed files with 15 additions and 0 deletions

View file

@ -89,5 +89,19 @@ in
Remote store extra configuration.
'';
};
extraConfig.account = mkOption {
type = extraConfigType;
default = {};
example = literalExample ''
{
PipelineDepth = 10;
Timeout = 60;
};
'';
description = ''
Account section extra configuration.
'';
};
};
}

View file

@ -60,6 +60,7 @@ let
}
// genTlsConfig imap.tls
// optionalAttrs (imap.port != null) { Port = toString imap.port; }
// mbsync.extraConfig.account
)
+ "\n"
+ genSection "IMAPStore ${name}-remote" (