1 2 3 4 5 6 7
{pkgs, ...}: { networking.firewall = { enable = true; package = pkgs.iptables; allowedTCPPorts = [80 443 25 465 587 110 995 143 993]; }; }