k 4 types: add default value for user.mail

This commit is contained in:
lassulus 2016-09-09 19:38:12 +02:00
parent aaf595998e
commit 928ac9f153

View File

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