flake/services/mailserver.nix
2025-11-04 11:31:52 +00:00

15 lines
416 B
Nix

{config, ...}: {
mailserver = {
enable = true;
fqdn = "distrust.network";
domains = ["distrust.network"];
certificateScheme = "acme";
ldap = {
enable = true;
bind.dn = "cn=bind,ou=people,dc=distrust,dc=network";
bind.passwordFile = config.age.secrets."bind_pw".path;
searchBase = "ou=people,dc=distrust,dc=network";
uris = ["ldap://localhost:3890"];
};
};
}