From f374b704b0e6a9900633af58e5e6def644a916a5 Mon Sep 17 00:00:00 2001
From: tv <tv@krebsco.de>
Date: Thu, 27 Apr 2017 19:43:12 +0200
Subject: [PATCH] types.user.mail: str -> nullOr str

---
 lib/types.nix | 4 ++--
 1 file 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;