k 4 types: add default value for user.mail
This commit is contained in:
parent
aaf595998e
commit
928ac9f153
@ -284,6 +284,7 @@ types // rec {
|
|||||||
};
|
};
|
||||||
mail = mkOption {
|
mail = mkOption {
|
||||||
type = str; # TODO retiolum mail address
|
type = str; # TODO retiolum mail address
|
||||||
|
default = "${config._module.args.name}@${config.networking.hostName}.r";
|
||||||
};
|
};
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
type = username;
|
type = username;
|
||||||
|
Loading…
Reference in New Issue
Block a user