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