summaryrefslogtreecommitdiff
path: root/hosts/surtr/etebase/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-01-30 12:20:23 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-01-30 12:20:23 +0100
commitcfc871cce6aefaa0ff64619780a807cba761c6b2 (patch)
tree965e8276ed36f11698b6c7d6eadab9f88d5f97c5 /hosts/surtr/etebase/default.nix
parentaa54fe89b98d354d21141c589332ce7950ef2e59 (diff)
downloadnixos-cfc871cce6aefaa0ff64619780a807cba761c6b2.tar
nixos-cfc871cce6aefaa0ff64619780a807cba761c6b2.tar.gz
nixos-cfc871cce6aefaa0ff64619780a807cba761c6b2.tar.bz2
nixos-cfc871cce6aefaa0ff64619780a807cba761c6b2.tar.xz
nixos-cfc871cce6aefaa0ff64619780a807cba761c6b2.zip
...
Diffstat (limited to 'hosts/surtr/etebase/default.nix')
-rw-r--r--hosts/surtr/etebase/default.nix14
1 files changed, 5 insertions, 9 deletions
diff --git a/hosts/surtr/etebase/default.nix b/hosts/surtr/etebase/default.nix
index 3c71bed0..ca6d84fe 100644
--- a/hosts/surtr/etebase/default.nix
+++ b/hosts/surtr/etebase/default.nix
@@ -32,16 +32,12 @@
32 restartUnits = ["etebase-server.service"]; 32 restartUnits = ["etebase-server.service"];
33 }; 33 };
34 34
35 security.acme.domains = { 35 security.acme.rfc2136Domains = {
36 "etesync.yggdrasil.li".certCfg = { 36 "etesync.yggdrasil.li" = {
37 postRun = '' 37 restartUnits = ["nginx.service"];
38 ${pkgs.systemd}/bin/systemctl try-restart nginx.service
39 '';
40 }; 38 };
41 "app.etesync.yggdrasil.li".certCfg = { 39 "app.etesync.yggdrasil.li" = {
42 postRun = '' 40 restartUnits = ["nginx.service"];
43 ${pkgs.systemd}/bin/systemctl try-restart nginx.service
44 '';
45 }; 41 };
46 }; 42 };
47 43