summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/surtr/matrix.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/hosts/surtr/matrix.nix b/hosts/surtr/matrix.nix
index a251002d..a178458a 100644
--- a/hosts/surtr/matrix.nix
+++ b/hosts/surtr/matrix.nix
@@ -92,6 +92,22 @@
92 }; 92 };
93 }; 93 };
94 94
95 security.acme.domains = {
96 "element.synapse.li" = {
97 zone = "synapse.li";
98 certCfg = {
99 postRun = ''
100 ${pkgs.systemd}/bin/systemctl try-restart nginx.service
101 '';
102 };
103 };
104 "synapse.li".certCfg = {
105 postRun = ''
106 ${pkgs.systemd}/bin/systemctl try-restart nginx.service
107 '';
108 };
109 };
110
95 systemd.services.nginx = { 111 systemd.services.nginx = {
96 serviceConfig = { 112 serviceConfig = {
97 LoadCredential = [ 113 LoadCredential = [