diff options
Diffstat (limited to 'hosts/surtr/etebase/default.nix')
-rw-r--r-- | hosts/surtr/etebase/default.nix | 14 |
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 | ||