{pkgs, lib, config, ...}: { networking.firewall.allowedTCPPorts = [ 80 443 ]; services.nginx = { enable = true; virtualHosts = { "*" = { root = "/var/www/test"; }; }; }; }