1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-20 01:59:45 +01:00

Revert "mbsync: make passwordCommand escaping consistent" (#3657)

This reverts commit e2c1756e3a.
This commit is contained in:
Naïm Favier 2023-02-08 21:39:10 +01:00 committed by GitHub
parent e631d78ddf
commit 1232d0e133
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -84,7 +84,7 @@ let
genSection "IMAPAccount ${name}" ({ genSection "IMAPAccount ${name}" ({
Host = imap.host; Host = imap.host;
User = userName; User = userName;
PassCmd = lib.escapeShellArgs passwordCommand; PassCmd = toString passwordCommand;
} // genTlsConfig imap.tls } // genTlsConfig imap.tls
// optionalAttrs (imap.port != null) { Port = toString imap.port; } // optionalAttrs (imap.port != null) { Port = toString imap.port; }
// mbsync.extraConfig.account) + "\n" // mbsync.extraConfig.account) + "\n"

View file

@ -3,7 +3,7 @@
IMAPAccount hm-account IMAPAccount hm-account
CertificateFile /etc/ssl/certs/ca-certificates.crt CertificateFile /etc/ssl/certs/ca-certificates.crt
Host imap.example.org Host imap.example.org
PassCmd "'password-command' '2'" PassCmd "password-command 2"
SSLType IMAPS SSLType IMAPS
User home.manager.jr User home.manager.jr
@ -55,7 +55,7 @@ Channel hm-account-strangeHostBoxName
IMAPAccount hm@example.com IMAPAccount hm@example.com
CertificateFile /etc/ssl/certs/ca-certificates.crt CertificateFile /etc/ssl/certs/ca-certificates.crt
Host imap.example.com Host imap.example.com
PassCmd 'password-command' PassCmd password-command
SSLType IMAPS SSLType IMAPS
SSLVersions TLSv1.3 TLSv1.2 SSLVersions TLSv1.3 TLSv1.2
User home.manager User home.manager