feat(dns): add dns records for stalwart

This commit is contained in:
Julien Malka 2024-08-25 12:14:11 +02:00
parent 80facd9f12
commit 45d66e0a09
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -1,3 +1,4 @@
{ config, ... }:
{
services.stalwart-mail = {
enable = true;
@ -56,6 +57,11 @@
};
};
machine.meta.zones."luj.fr".subdomains."mail" = {
A = [ config.machine.meta.ips.public.ipv4 ];
AAAA = [ config.machine.meta.ips.public.ipv6 ];
};
networking.firewall.allowedTCPPorts = [
80
443