]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/losurdo/nginx/sourcephile.fr.nix
transmission: do not disable transmission.timer (it would not retrigger)
[sourcephile-nix.git] / hosts / losurdo / nginx / sourcephile.fr.nix
1 { pkgs, lib, config, ... }:
2 let domain = "sourcephile.fr"; in
3 {
4 imports = map (m: import m {inherit domain;}) [
5 sourcephile.fr/cryptpad.nix
6 sourcephile.fr/losurdo.nix
7 sourcephile.fr/nix-serve.nix
8 ];
9 security.acme.certs."${domain}" = {
10 postRun = "systemctl reload nginx";
11 };
12 systemd.services.nginx = {
13 wants = [ "acme-selfsigned-${domain}.service" "acme-${domain}.service"];
14 after = [ "acme-selfsigned-${domain}.service" ];
15 };
16 }