1 2 3 4 5 6 7 8 9
{ pkgs, ... }: { services.caddy = { enable = true; package = pkgs.caddy; }; networking.firewall.allowedTCPPorts = [ 80 443 ]; }