diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/vidhar/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 0a49e37b..59d37412 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -156,8 +156,13 @@ | |||
156 | format = "binary"; | 156 | format = "binary"; |
157 | sopsFile = ./selfsigned.key; | 157 | sopsFile = ./selfsigned.key; |
158 | }; | 158 | }; |
159 | systemd.services.nginx.serviceConfig = { | 159 | systemd.services.nginx = { |
160 | LoadCredential = [ "selfsigned.key:${config.sops.secrets."selfsigned.key".path}" ]; | 160 | preStart = lib.mkForce '' |
161 | echo $CREDENTIALS_DIRECTORY | ||
162 | ''; | ||
163 | serviceConfig = { | ||
164 | LoadCredential = [ "selfsigned.key:${config.sops.secrets."selfsigned.key".path}" ]; | ||
165 | }; | ||
161 | }; | 166 | }; |
162 | 167 | ||
163 | services.loki = { | 168 | services.loki = { |