summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-24 21:24:12 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-24 21:24:12 +0100
commit0d3bb29c73ac45f25c376cd9fc7240161385e04f (patch)
tree0bff95740295d120097cf3ab004e5bb23c3ac316 /hosts
parent11dbc4201309ed6de2f68a361313513b39c5a41d (diff)
downloadnixos-0d3bb29c73ac45f25c376cd9fc7240161385e04f.tar
nixos-0d3bb29c73ac45f25c376cd9fc7240161385e04f.tar.gz
nixos-0d3bb29c73ac45f25c376cd9fc7240161385e04f.tar.bz2
nixos-0d3bb29c73ac45f25c376cd9fc7240161385e04f.tar.xz
nixos-0d3bb29c73ac45f25c376cd9fc7240161385e04f.zip
...
Diffstat (limited to 'hosts')
-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 = [