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