summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-09-09 19:38:12 +0200
committerlassulus <lass@aidsballs.de>2016-09-09 19:38:12 +0200
commit928ac9f153682aa2a98213a39b6732591a8c27a6 (patch)
tree9ca0a3c441a3a578b29b0b8ef471ef8d695ee6aa /krebs
parentaaf595998e94aa5d0a46333326fcd5e327b58ae6 (diff)
k 4 types: add default value for user.mail
Diffstat (limited to 'krebs')
-rw-r--r--krebs/4lib/types.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/4lib/types.nix b/krebs/4lib/types.nix
index 37d44606b..02ca2b8db 100644
--- a/krebs/4lib/types.nix
+++ b/krebs/4lib/types.nix
@@ -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;