flake/services/mailserver.nix

16 lines
422 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" ];
};
};
}