From bfcd26ae7e6bb532c10a511b832a458489e4134c Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 6 Sep 2023 16:12:34 -0700 Subject: [PATCH] Umm --- lib/fudo/ldap.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fudo/ldap.nix b/lib/fudo/ldap.nix index 28b035f..c0bc6c9 100644 --- a/lib/fudo/ldap.nix +++ b/lib/fudo/ldap.nix @@ -47,7 +47,7 @@ let shadowMax: 99999 shadowWarning: 7 userPassword: ${opts.ldap-hashed-passwd} - ${optionalString (hasAttr "email" opts) "mail: ${opts.email}"} + mail: ${if (opts.email != null) then email else ""} ''; systemUserLdif = base: name: opts: ''