From 2f8d5b89498b2523bf636bede6736ac64ac56654 Mon Sep 17 00:00:00 2001 From: halcyon <55317573+hxlcyxn@users.noreply.github.com> Date: Sat, 17 Dec 2022 19:03:02 +0100 Subject: [PATCH] remove `users.ldap` config --- modules/ldap.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/modules/ldap.nix b/modules/ldap.nix index 80aef7d..b1ed81a 100644 --- a/modules/ldap.nix +++ b/modules/ldap.nix @@ -1,9 +1,9 @@ { config, ... }: let # temporary url, zum testen auf laptop zuhause - tld = "moe"; - hostname = "eisvogel"; - domain = "portunus.${hostname}.${tld}"; + tld = "de"; + hostname = "ifsr"; + domain = "auth.staging.${hostname}.${tld}"; portunusUser = "portunus"; portunusGroup = "portunus"; @@ -53,13 +53,6 @@ in seedPath = "../config/portunus_seeds.json"; }; - users.ldap = { - enable = true; - server = "ldaps://${domain}"; - base = "dc=${hostname},dc=${tld}"; - # useTLS = true; # nicht nötig weil ldaps domain festgelegt. würde sonst starttls auf port 389 versuchen - }; - services.nginx = { enable = true; virtualHosts."${config.services.portunus.domain}" = {