forked from nix-community/home-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
isync/mbsync: update module for 1.5.0 changes (nix-community#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
- Loading branch information
Showing
5 changed files
with
39 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ IMAPAccount hm-account | |
CertificateFile /etc/ssl/certs/ca-certificates.crt | ||
Host imap.example.org | ||
PassCmd "password-command 2" | ||
SSLType IMAPS | ||
TLSType IMAPS | ||
User home.manager.jr | ||
|
||
IMAPStore hm-account-remote | ||
|
@@ -56,8 +56,8 @@ IMAPAccount [email protected] | |
CertificateFile /etc/ssl/certs/ca-certificates.crt | ||
Host imap.example.com | ||
PassCmd password-command | ||
SSLType IMAPS | ||
SSLVersions TLSv1.3 TLSv1.2 | ||
TLSType IMAPS | ||
TLSVersions +1.3 +1.2 -1.1 | ||
User home.manager | ||
|
||
IMAPStore [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ with lib; | |
accounts.email.accounts = { | ||
"[email protected]".mbsync = { | ||
enable = true; | ||
extraConfig.account.SSLVersions = [ "TLSv1.3" "TLSv1.2" ]; | ||
extraConfig.account.TLSVersions = [ "+1.3" "+1.2" "-1.1" ]; | ||
groups.inboxes = { | ||
channels = { | ||
inbox1 = { | ||
|
@@ -79,8 +79,8 @@ with lib; | |
test.stubs.isync = { }; | ||
|
||
nmt.script = '' | ||
assertFileExists home-files/.mbsyncrc | ||
assertFileContent home-files/.mbsyncrc ${./mbsync-expected.conf} | ||
assertFileExists home-files/.config/isyncrc | ||
assertFileContent home-files/.config/isyncrc ${./mbsync-expected.conf} | ||
''; | ||
}; | ||
} |