X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fenvironment.nix;h=c4c32c8e34a32d6392ac920eb8e80f10baa0fb1d;hb=ef0a9217fba817d7fb71ccd4cca65919dd89ebec;hp=ffb61c50f4fac490608f0ff11927564539b81b2c;hpb=e6052491c138a418313d634ccd038d81337c6a24;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/environment.nix b/modules/private/environment.nix index ffb61c5..c4c32c8 100644 --- a/modules/private/environment.nix +++ b/modules/private/environment.nix @@ -493,8 +493,8 @@ in 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"; }; }; }); };