git: Add configured SSL certificate for SMTP (#1833)

If you have a custom SSL certificate configured for SMTP TLS, git should
use it.
This commit is contained in:
Andrew Fontaine 2021-03-03 21:24:19 -05:00 committed by GitHub
parent 69e2693342
commit 39e4991856
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 0 deletions

View file

@ -290,6 +290,7 @@ in {
"ssl")
else
"";
smtpSslCertPath = mkIf smtp.tls.enable smtp.tls.certificatesFile;
smtpServer = smtp.host;
smtpUser = userName;
from = address;