email: allow null certificatesFile
Allow the value of certificatesFile to be null. Also fixup uses of this variable. Fixes: #2206
This commit is contained in:
parent
2c4234cb79
commit
5515ec99cc
5 changed files with 9 additions and 7 deletions
|
|
@ -295,7 +295,8 @@ in {
|
|||
"ssl")
|
||||
else
|
||||
"";
|
||||
smtpSslCertPath = mkIf smtp.tls.enable smtp.tls.certificatesFile;
|
||||
smtpSslCertPath =
|
||||
mkIf smtp.tls.enable (toString smtp.tls.certificatesFile);
|
||||
smtpServer = smtp.host;
|
||||
smtpUser = userName;
|
||||
from = address;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue