diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-23 18:31:43 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-23 18:31:43 +0100 |
commit | 4e5597d9d026174d465ee6c884bb75c750bea671 (patch) | |
tree | 86b05f35798c0ab7b6c22c0861417373de578e74 | |
parent | e3f73689968814cb7f695b8f1e777ee9d6cffe66 (diff) | |
download | nixos-4e5597d9d026174d465ee6c884bb75c750bea671.tar nixos-4e5597d9d026174d465ee6c884bb75c750bea671.tar.gz nixos-4e5597d9d026174d465ee6c884bb75c750bea671.tar.bz2 nixos-4e5597d9d026174d465ee6c884bb75c750bea671.tar.xz nixos-4e5597d9d026174d465ee6c884bb75c750bea671.zip |
...
-rw-r--r-- | hosts/vidhar/default.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 706b032a..9265af6a 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -157,10 +157,7 @@ | |||
157 | sopsFile = ./selfsigned.key; | 157 | sopsFile = ./selfsigned.key; |
158 | }; | 158 | }; |
159 | systemd.services.nginx = { | 159 | systemd.services.nginx = { |
160 | preStart = lib.mkForce '' | 160 | preStart = lib.mkForce config.services.nginx.preStart; |
161 | echo $CREDENTIALS_DIRECTORY | ||
162 | ${pkgs.coreutils}/bin/ls -lhaF $CREDENTIALS_DIRECTORY | ||
163 | ''; | ||
164 | serviceConfig = { | 161 | serviceConfig = { |
165 | LoadCredential = [ "selfsigned.key:${config.sops.secrets."selfsigned.key".path}" ]; | 162 | LoadCredential = [ "selfsigned.key:${config.sops.secrets."selfsigned.key".path}" ]; |
166 | }; | 163 | }; |