formatting

This commit is contained in:
revol-xut 2023-02-15 13:20:23 +01:00
parent bb23a7f67a
commit 82f47b66cb
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07

View file

@ -69,23 +69,25 @@ in
};
#users.ldap = {
#enable = true;
#server = "ldap://localhost";
#base = "${config.services.portunus.ldap.suffix}";
#enable = true;
#server = "ldap://localhost";
#base = "${config.services.portunus.ldap.suffix}";
#};
users.ldap = let
portunus = config.services.portunus;
base = "ou=users,${portunus.ldap.suffix}";
in {
enable = true;
server = "ldap://localhost";
base = base;
bind = {
distinguishedName = "uid=${portunus.ldap.searchUserName},${base}";
passwordFile = config.sops.secrets.unix_ldap_search.path;
users.ldap =
let
portunus = config.services.portunus;
base = "ou=users,${portunus.ldap.suffix}";
in
{
enable = true;
server = "ldap://localhost";
base = base;
bind = {
distinguishedName = "uid=${portunus.ldap.searchUserName},${base}";
passwordFile = config.sops.secrets.unix_ldap_search.path;
};
daemon.enable = true;
};
daemon.enable = true;
};
services.nginx = {