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
commit5844a0e5cfa48076198225a8073c02bb8141b513 (patch)
treecb350f4b888c5ba1cd2efbbc6c9a20fd365d233c
parent29906dedcb9237d736715d22dbb974703988653c (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 f511541..30de5e1 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;