types.user.mail: str -> nullOr str

This commit is contained in:
tv 2017-04-27 19:43:12 +02:00
parent 5cee2f8c89
commit f374b704b0

View file

@ -284,8 +284,8 @@ rec {
default = "/home/${config.name}"; default = "/home/${config.name}";
}; };
mail = mkOption { mail = mkOption {
type = str; # TODO retiolum mail address type = nullOr str;
default = "${config._module.args.name}@${config.networking.hostName}.r"; default = null;
}; };
name = mkOption { name = mkOption {
type = username; type = username;