Handle null in mailserver
This commit is contained in:
parent
b88c4c7bf6
commit
a9420a56a7
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user