From aadf94c27e3f714b1bf1e8262a6f116ff5768b1d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 9 May 2024 01:56:30 +0200 Subject: [PATCH] Allow specifying user mail addresses --- lib/modules/my-users.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/modules/my-users.nix b/lib/modules/my-users.nix index 6a295cf..555450e 100644 --- a/lib/modules/my-users.nix +++ b/lib/modules/my-users.nix @@ -8,6 +8,12 @@ let default = null; }; + mail = lib.mkOption { + type = lib.types.nullOr lib.types.mail; + description = lib.mdDoc "The mail address of the user."; + default = null; + }; + defaultShell = lib.mkOption { type = lib.types.anything; description = "The default shell of the user.";