forked from wurzel/fruitbasket
formatting
This commit is contained in:
parent
bb23a7f67a
commit
82f47b66cb
1 changed files with 17 additions and 15 deletions
|
@ -69,23 +69,25 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
#users.ldap = {
|
#users.ldap = {
|
||||||
#enable = true;
|
#enable = true;
|
||||||
#server = "ldap://localhost";
|
#server = "ldap://localhost";
|
||||||
#base = "${config.services.portunus.ldap.suffix}";
|
#base = "${config.services.portunus.ldap.suffix}";
|
||||||
#};
|
#};
|
||||||
users.ldap = let
|
users.ldap =
|
||||||
portunus = config.services.portunus;
|
let
|
||||||
base = "ou=users,${portunus.ldap.suffix}";
|
portunus = config.services.portunus;
|
||||||
in {
|
base = "ou=users,${portunus.ldap.suffix}";
|
||||||
enable = true;
|
in
|
||||||
server = "ldap://localhost";
|
{
|
||||||
base = base;
|
enable = true;
|
||||||
bind = {
|
server = "ldap://localhost";
|
||||||
distinguishedName = "uid=${portunus.ldap.searchUserName},${base}";
|
base = base;
|
||||||
passwordFile = config.sops.secrets.unix_ldap_search.path;
|
bind = {
|
||||||
|
distinguishedName = "uid=${portunus.ldap.searchUserName},${base}";
|
||||||
|
passwordFile = config.sops.secrets.unix_ldap_search.path;
|
||||||
|
};
|
||||||
|
daemon.enable = true;
|
||||||
};
|
};
|
||||||
daemon.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue