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