This commit is contained in:
Nek0 - 2022-12-18 20:45:51 +01:00
parent c60b5f0161
commit cc7e228c00
1 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@
let
domain = "mailtng.c3d2.de";
ldap-auth-config = pkgs.writeText ''
ldap-auth-config = ''
hosts = auth.c3d2.de
dn = uid=search,ou=users,dc=c3d2,dc=de
@ -50,9 +50,10 @@ in
};
};
sops.defaultSopsFile = ./secrets.yaml;
sops.secrets."ldap/search-user-pw" = {
owner = config.systemd.services.dovecot2.serviceConfig.User;
group = config.systemd.services.dovecot2.serviceConfig.Group;
owner = config.users.users.dovecot2.name;
group = config.users.users.dovecot2.group;
};
networking = {