diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-31 18:17:53 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-31 18:17:53 +0100 |
commit | e8ba7fa302c7f4c2a9dc7a5dc1e1b1a633bd7133 (patch) | |
tree | 27681d8cd573a627b1bf899771edc2337864bb3e /hosts | |
parent | 9d0e8e03aa81b062947fbeb820f5618b71549e87 (diff) | |
download | nixos-e8ba7fa302c7f4c2a9dc7a5dc1e1b1a633bd7133.tar nixos-e8ba7fa302c7f4c2a9dc7a5dc1e1b1a633bd7133.tar.gz nixos-e8ba7fa302c7f4c2a9dc7a5dc1e1b1a633bd7133.tar.bz2 nixos-e8ba7fa302c7f4c2a9dc7a5dc1e1b1a633bd7133.tar.xz nixos-e8ba7fa302c7f4c2a9dc7a5dc1e1b1a633bd7133.zip |
...
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 | }; |