From 94db4c88519e62c1b2cce263362dfb73a33ddf2a Mon Sep 17 00:00:00 2001 From: materus Date: Sat, 13 Jul 2024 20:11:06 +0200 Subject: [PATCH] waffentrager: lldap changes --- configurations/host/waffentrager/services/auth/lldap.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configurations/host/waffentrager/services/auth/lldap.nix b/configurations/host/waffentrager/services/auth/lldap.nix index 6fea603..cb40448 100644 --- a/configurations/host/waffentrager/services/auth/lldap.nix +++ b/configurations/host/waffentrager/services/auth/lldap.nix @@ -48,7 +48,7 @@ sops.secrets.jwt = { owner = "lldap"; group = "lldap"; }; sops.secrets."lldap-database" = { owner = "lldap"; group = "lldap"; }; services.lldap.enable = true; - services.lldap.environmentFile = config.sops.templates."lldap.env".file; + services.lldap.environmentFile = config.sops.templates."lldap.env".path; sops.templates."lldap.env" = { content = '' LLDAP_JWT_SECRET_FILE="${config.sops.secrets.jwt.path}" @@ -60,7 +60,6 @@ services.lldap.settings = { ldap_base_dn = "dc=podkos,dc=pl"; - #database_url = "sqlite://${config.waffentragerService.elements.lldapDir}/users.db?mode=rwc"; http_url = "https://mamba.podkos.pl"; ldap_user_dn = "master"; ldap_user_email = "materus@podkos.pl";