{ config, ... }: { services.caddy = { enable = true; email = "ca@${config.networking.domain}"; logFormat = "format console"; }; networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedUDPPorts = [ 443 ]; }