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