1 { pkgs, lib, config, ... }:
2 let domain = "sourcephile.fr"; in
4 imports = map (m: import m {inherit domain;}) [
7 #sourcephile.fr/lemoutona5pattes.nix
8 #sourcephile.fr/covid19.nix
9 sourcephile.fr/public-inbox.nix
10 sourcephile.fr/whoami.nix
12 security.acme.certs."${domain}" = {
13 postRun = "systemctl reload nginx";
15 systemd.services.nginx.serviceConfig = {
18 systemd.services.nginx = {
19 wants = [ "acme-selfsigned-${domain}.service" "acme-${domain}.service"];
20 after = [ "acme-selfsigned-${domain}.service" ];