summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-04-27 19:43:12 +0200
committertv <tv@krebsco.de>2017-04-27 19:43:12 +0200
commitf374b704b0e6a9900633af58e5e6def644a916a5 (patch)
tree7e7d0659e53e9fb5f30c6c90ea4733169a3738e6
parent5cee2f8c89c537cbba0f1a53e3a21aa9836ba13b (diff)
types.user.mail: str -> nullOr str
-rw-r--r--lib/types.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/types.nix b/lib/types.nix
index f511541bd..30de5e177 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -284,8 +284,8 @@ rec {
default = "/home/${config.name}";
};
mail = mkOption {
- type = str; # TODO retiolum mail address
- default = "${config._module.args.name}@${config.networking.hostName}.r";
+ type = nullOr str;
+ default = null;
};
name = mkOption {
type = username;