isync/mbsync: update module for 1.5.0 changes (#5918)
* mbsync: Add NEWS entry about isync 1.5.0 changes * mbsync: Place config file in $XDG_CONFIG_HOME mbsync 1.5.0 supports placing isync's configuration file in $XDG_CONFIG_HOME/isyncrc [1]. [1] https://sourceforge.net/projects/isync/files/isync/1.5.0/ * mbsync: Replace SSLType with TLSType mbsync 1.5.0 replaced the name of the configuration option [1]. Also update SSLVersions to TLSVersions for the same reason. Inform the user if the option was renamed. [1] https://sourceforge.net/projects/isync/files/isync/1.5.0/ * mbsync: Replace SSLVersions with TLSVerisons * mbsync: Update extraConfig.account example with SSL->TLS changes
This commit is contained in:
parent
d00c6f6d0a
commit
f63c15c137
5 changed files with 39 additions and 8 deletions
|
|
@ -225,6 +225,8 @@ in {
|
|||
default = { };
|
||||
example = literalExpression ''
|
||||
{
|
||||
TLSType = "IMAP";
|
||||
TLSVersions = [ "+1.3" "+1.2" "-1.1" ];
|
||||
PipelineDepth = 10;
|
||||
Timeout = 60;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ let
|
|||
|
||||
genTlsConfig = tls:
|
||||
{
|
||||
SSLType = if !tls.enable then
|
||||
TLSType = if !tls.enable then
|
||||
"None"
|
||||
else if tls.useStartTls then
|
||||
"STARTTLS"
|
||||
|
|
@ -267,7 +267,7 @@ in {
|
|||
|
||||
programs.notmuch.new.ignore = [ ".uidvalidity" ".mbsyncstate" ];
|
||||
|
||||
home.file.".mbsyncrc".text = let
|
||||
xdg.configFile."isyncrc".text = let
|
||||
accountsConfig = map genAccountConfig mbsyncAccounts;
|
||||
# Only generate this kind of Group configuration if there are ANY accounts
|
||||
# that do NOT have a per-account groups/channels option(s) specified.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue