From db8bb892e09683f704b1397fba51b6252b8f1fb4 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 3 Feb 2022 00:42:38 +0100 Subject: [PATCH] tools/identity: add autoDomain --- tools/identity.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/identity.nix b/tools/identity.nix index 1557b50..04cc0b8 100644 --- a/tools/identity.nix +++ b/tools/identity.nix @@ -7,6 +7,8 @@ let inherit domain; + autoDomain = name: "${builtins.hashString "md5" name}.dev.${domain}"; + ldap = { server = with self.ldap.server; { # TODO: unhardcode everything here