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}";
};
mail = mkOption {
type = str; # TODO retiolum mail address
default = "${config._module.args.name}@${config.networking.hostName}.r";
type = nullOr str;
default = null;
};
name = mkOption {
type = username;