From 928ac9f153682aa2a98213a39b6732591a8c27a6 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 9 Sep 2016 19:38:12 +0200 Subject: [PATCH] k 4 types: add default value for user.mail --- krebs/4lib/types.nix | 1 + 1 file changed, 1 insertion(+) 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;