{ pkgs, config, ... }: { config = { services.caddy = { enable = true; # virtualHosts = { # "http://localhost".extraConfig = '' # try_files ${pkgs.writeText "index.html" '' # hello world # ''} / # ''; # }; }; networking.firewall.allowedTCPPorts = [80 443]; }; }