From e546c70eaa00957b92dab218f93d83e629fdf24e Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 6 Sep 2023 15:31:00 -0700 Subject: [PATCH] Infinite recursion? --- 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 5968d76..194fc29 100644 --- a/lib/fudo/ldap.nix +++ b/lib/fudo/ldap.nix @@ -39,7 +39,7 @@ let selby = "selby.ca"; informis = "informis.land"; }; - email = if (hasAttr email opts) then + email = if (opts.email != null) then email else "${name}@${domains."${opts.primary-group}"}";