mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
feat(dns): add dns records for stalwart
This commit is contained in:
parent
80facd9f12
commit
45d66e0a09
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue