types.user.mail: str -> nullOr str
This commit is contained in:
parent
5cee2f8c89
commit
f374b704b0
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue