fix: enable better mail sorting

Deals with #32
This commit is contained in:
silver 2023-10-13 09:45:07 +01:00
parent e679f523fc
commit 487fb3f0bf

View file

@ -115,6 +115,11 @@ in {
r_type = "A"; r_type = "A";
value = cfg.host.ip; value = cfg.host.ip;
} }
{
record = cfg.host.ip;
r_type = "PTR";
value = "${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}.";
}
]; ];
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
@ -140,6 +145,9 @@ in {
}; };
}; };
# set a valid HELO address
services.postfix.hostname = lib.mkForce "${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}";
services.gitlab = { services.gitlab = {
enable = true; enable = true;