diff options
Diffstat (limited to 'modules/private/environment.nix')
-rw-r--r-- | modules/private/environment.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/private/environment.nix b/modules/private/environment.nix index 81b5df5..7da2480 100644 --- a/modules/private/environment.nix +++ b/modules/private/environment.nix | |||
@@ -486,6 +486,19 @@ in | |||
486 | slack_url = mkOption { type = str; description = "Slack webhook url to push status update"; }; | 486 | slack_url = mkOption { type = str; description = "Slack webhook url to push status update"; }; |
487 | slack_channel = mkOption { type = str; description = "Slack channel to push status update"; }; | 487 | slack_channel = mkOption { type = str; description = "Slack channel to push status update"; }; |
488 | contacts = mkOption { type = attrsOf unspecified; description = "Contact dicts to fill naemon objects"; }; | 488 | contacts = mkOption { type = attrsOf unspecified; description = "Contact dicts to fill naemon objects"; }; |
489 | email_check = mkOption { | ||
490 | description = "Emails services to check"; | ||
491 | type = attrsOf (submodule { | ||
492 | options = { | ||
493 | local = mkOption { type = bool; default = false; description = "Use local configuration"; }; | ||
494 | port = mkOption { type = nullOr str; default = null; description = "Port to connect to ssh"; }; | ||
495 | login = mkOption { type = nullOr str; default = null; description = "Login to connect to ssh"; }; | ||
496 | targets = mkOption { type = listOf str; description = "Hosts to send E-mails to"; }; | ||
497 | mail_address = mkOption { type = str; description = "E-mail recipient part to send e-mail to"; }; | ||
498 | mail_domain = mkOption { type = str; description = "E-mail domain part to send e-mail to"; }; | ||
499 | }; | ||
500 | }); | ||
501 | }; | ||
489 | }; | 502 | }; |
490 | }; | 503 | }; |
491 | }; | 504 | }; |