diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-23 18:12:35 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-23 18:12:35 +0100 |
commit | 9596dcc5ad2e5ff70cc4a579c591bca5cb44b8d3 (patch) | |
tree | 54368afa13cf34a5680c3652ae49fda9a3b2c748 /hosts/vidhar/default.nix | |
parent | 9532ab2aaead395f7b97a72ad803cceb4d29f1e9 (diff) | |
download | nixos-9596dcc5ad2e5ff70cc4a579c591bca5cb44b8d3.tar nixos-9596dcc5ad2e5ff70cc4a579c591bca5cb44b8d3.tar.gz nixos-9596dcc5ad2e5ff70cc4a579c591bca5cb44b8d3.tar.bz2 nixos-9596dcc5ad2e5ff70cc4a579c591bca5cb44b8d3.tar.xz nixos-9596dcc5ad2e5ff70cc4a579c591bca5cb44b8d3.zip |
...
Diffstat (limited to 'hosts/vidhar/default.nix')
-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 = { |