summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/kay/modules/mail.nix1
-rw-r--r--hosts/kay/modules/www.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/hosts/kay/modules/mail.nix b/hosts/kay/modules/mail.nix
index b255650..cd47d39 100644
--- a/hosts/kay/modules/mail.nix
+++ b/hosts/kay/modules/mail.nix
@@ -24,6 +24,7 @@ in {
4190 # managesieve
];
+ security.acme.certs.${domain}.postRun = "systemctl restart stalwart-mail.service";
sops.secrets = {
"mail.${domain}/dkim_rsa" = {};
"mail.${domain}/dkim_ed25519" = {};
diff --git a/hosts/kay/modules/www.nix b/hosts/kay/modules/www.nix
index 1447b1e..3891bf6 100644
--- a/hosts/kay/modules/www.nix
+++ b/hosts/kay/modules/www.nix
@@ -13,6 +13,7 @@ in
./cgit.nix
];
+ security.acme.certs.${domain}.postRun = "systemctl reload nginx.service";
networking.firewall = {
allowedTCPPorts = [ 80 443 ];
allowedUDPPorts = [ 443 ];