2 let domain = "sourcephile.fr"; in
4 imports = map (m: import m { inherit domain; }) [
7 sourcephile.fr/public-inbox.nix
8 sourcephile.fr/whoami.nix
10 security.acme.certs."${domain}" = {
11 postRun = "systemctl reload nginx";
13 systemd.services.nginx = {
14 wants = [ "acme-selfsigned-${domain}.service" "acme-${domain}.service" ];
15 after = [ "acme-selfsigned-${domain}.service" ];