1 { pkgs, lib, config, ... }:
2 let domain = "sourcephile.fr"; in
4 imports = map (m: import m {inherit domain;}) [
5 #sourcephile.fr/cryptpad.nix
6 sourcephile.fr/losurdo.nix
7 sourcephile.fr/nix-serve.nix
9 security.acme.certs."${domain}" = {
10 postRun = "systemctl reload nginx";
12 systemd.services.nginx = {
13 wants = [ "acme-selfsigned-${domain}.service" "acme-${domain}.service"];
14 after = [ "acme-selfsigned-${domain}.service" ];