ctucx.git: nixfiles

ctucx' nixfiles

commit ae7b05f829e9b42e562b3b2b4d2e8363d2bb9b3d
parent 36ec964b946817c88aed9bd4c6d4436717002dbc
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 13 Jun 2023 19:40:53 +0200

machines/trabbi/mail: reload `postfix` and `dovecot2` on cert-renewal
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/machines/trabbi/mail.nix b/machines/trabbi/mail.nix
@@ -94,6 +94,11 @@ in {
     };
   };
 
+  security.acme.certs."${config.networking.fqdn}".reloadServices = [
+    "postfix.service"
+    "dovecot2.service"
+  ];
+
   services.nginx = {
     enable = true;
     virtualHosts = {