From c41369e2ac01fd1f0e12aab705a4b422cee57113 Mon Sep 17 00:00:00 2001 From: revol-xut Date: Fri, 3 Feb 2023 15:40:42 +0100 Subject: [PATCH] enabeling ldap auth --- modules/ldap.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/ldap.nix b/modules/ldap.nix index a1965a6..adbe392 100644 --- a/modules/ldap.nix +++ b/modules/ldap.nix @@ -62,6 +62,12 @@ in seedPath = ../config/portunus_seeds.json; }; + users.ldap = { + enable = true; + server = "ldap://localhost"; + base = "${config.services.portunus.ldap.suffix}"; + }; + services.nginx = { enable = true; virtualHosts."${config.services.portunus.domain}" = {