almost ready. now to harden

This commit is contained in:
root 2025-11-04 11:30:34 +00:00
parent 29cbf8b2d8
commit e856c0dfb1
20 changed files with 539 additions and 58 deletions

16
services/mailserver.nix Normal file
View file

@ -0,0 +1,16 @@
{ 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" ];
};
};
}