2 { pkgs, lib, config, ... }:
3 let inherit (config) networking;
4 inherit (config.services) nginx;
9 virtualHosts."${srv}" = {
10 serverName = "${srv}.${domain}";
13 root = "/home/julm/www/${srv}";
16 error_log /dev/null crit;
18 locations."/".extraConfig = ''