more work on ldap bootstrapping
This commit is contained in:
parent
19cd1b3255
commit
ae3c110e18
10 changed files with 362 additions and 11 deletions
|
@ -21,6 +21,10 @@ index 6f42473..b3746a1 100644
|
|||
|
||||
pkgLLDAPCli = pkgs.callPackage ./../../../../shared/pkgs/lldap-cli.nix {};
|
||||
in {
|
||||
imports = [
|
||||
# ./test.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgLLDAPCli
|
||||
];
|
||||
|
@ -102,6 +106,8 @@ in {
|
|||
groups = {
|
||||
admin = "lldap_admin";
|
||||
member = "base_member";
|
||||
system = "system_service";
|
||||
system_email = "system_email";
|
||||
};
|
||||
|
||||
ou = {
|
||||
|
@ -116,6 +122,10 @@ in {
|
|||
email = "mail";
|
||||
avatar = "jpegPhoto";
|
||||
groupname = "cn";
|
||||
|
||||
# custom
|
||||
member_email = "member_email";
|
||||
mail_disk_quota = "mail_disk_quota";
|
||||
};
|
||||
|
||||
age_secret = config.age.secrets.lldap-bind-user-pass.path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue