Handle null in mailserver

This commit is contained in:
Alexander Bantyev 2020-04-29 01:56:35 +03:00
parent b88c4c7bf6
commit a9420a56a7
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -71,7 +71,7 @@ in {
''; '';
}; };
mailserver = { mailserver = {
enable = true; enable = ! isNull config.secrets.mail.host;
fqdn = config.secrets.mail.host; fqdn = config.secrets.mail.host;
domains = [ config.secrets.mail.host ]; domains = [ config.secrets.mail.host ];
loginAccounts = { loginAccounts = {