'';
type = submodule {
options = {
- mailto = mkOption { type = str; description = "Where to e-mail on error"; };
ssh_key = mkOption {
description = "SSH key information";
type = submodule {
port = mkOption { type = nullOr str; default = null; description = "Port to connect to ssh"; };
login = mkOption { type = nullOr str; default = null; description = "Login to connect to ssh"; };
targets = mkOption { type = listOf str; description = "Hosts to send E-mails to"; };
- mail_address = mkOption { type = str; description = "E-mail recipient part to send e-mail to"; };
- mail_domain = mkOption { type = str; description = "E-mail domain part to send e-mail to"; };
+ mail_address = mkOption { type = nullOr str; default = null; description = "E-mail recipient part to send e-mail to"; };
+ mail_domain = mkOption { type = nullOr str; default = null; description = "E-mail domain part to send e-mail to"; };
};
});
};