mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
Revert "mbsync: make passwordCommand escaping consistent" (#3657)
This reverts commit e2c1756e3a.
This commit is contained in:
@@ -84,7 +84,7 @@ let
|
||||
genSection "IMAPAccount ${name}" ({
|
||||
Host = imap.host;
|
||||
User = userName;
|
||||
PassCmd = lib.escapeShellArgs passwordCommand;
|
||||
PassCmd = toString passwordCommand;
|
||||
} // genTlsConfig imap.tls
|
||||
// optionalAttrs (imap.port != null) { Port = toString imap.port; }
|
||||
// mbsync.extraConfig.account) + "\n"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
IMAPAccount hm-account
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
Host imap.example.org
|
||||
PassCmd "'password-command' '2'"
|
||||
PassCmd "password-command 2"
|
||||
SSLType IMAPS
|
||||
User home.manager.jr
|
||||
|
||||
@@ -55,7 +55,7 @@ Channel hm-account-strangeHostBoxName
|
||||
IMAPAccount hm@example.com
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
Host imap.example.com
|
||||
PassCmd 'password-command'
|
||||
PassCmd password-command
|
||||
SSLType IMAPS
|
||||
SSLVersions TLSv1.3 TLSv1.2
|
||||
User home.manager
|
||||
|
||||
Reference in New Issue
Block a user