diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/surtr/http.nix | 1 | ||||
-rw-r--r-- | hosts/vidhar/default.nix | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/hosts/surtr/http.nix b/hosts/surtr/http.nix index d7f4c258..e7648e80 100644 --- a/hosts/surtr/http.nix +++ b/hosts/surtr/http.nix | |||
@@ -69,6 +69,7 @@ | |||
69 | systemd.services.nginx = { | 69 | systemd.services.nginx = { |
70 | preStart = lib.mkForce config.services.nginx.preStart; | 70 | preStart = lib.mkForce config.services.nginx.preStart; |
71 | serviceConfig = { | 71 | serviceConfig = { |
72 | ExecReload = lib.mkForce "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; | ||
72 | LoadCredential = [ | 73 | LoadCredential = [ |
73 | "webdav.141.li.key.pem:${config.security.acme.certs."webdav.141.li".directory}/key.pem" | 74 | "webdav.141.li.key.pem:${config.security.acme.certs."webdav.141.li".directory}/key.pem" |
74 | "webdav.141.li.pem:${config.security.acme.certs."webdav.141.li".directory}/fullchain.pem" | 75 | "webdav.141.li.pem:${config.security.acme.certs."webdav.141.li".directory}/fullchain.pem" |
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 791bb3e1..47907bf0 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -163,6 +163,7 @@ | |||
163 | systemd.services.nginx = { | 163 | systemd.services.nginx = { |
164 | preStart = lib.mkForce config.services.nginx.preStart; | 164 | preStart = lib.mkForce config.services.nginx.preStart; |
165 | serviceConfig = { | 165 | serviceConfig = { |
166 | ExecReload = lib.mkForce "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; | ||
166 | LoadCredential = [ "selfsigned.key:${config.sops.secrets."selfsigned.key".path}" ]; | 167 | LoadCredential = [ "selfsigned.key:${config.sops.secrets."selfsigned.key".path}" ]; |
167 | }; | 168 | }; |
168 | }; | 169 | }; |