diff options
author | tv <tv@krebsco.de> | 2022-09-15 20:51:27 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-09-15 21:36:15 +0200 |
commit | 3e6f01c3003558a7db1094742fc2cbedf985cd23 (patch) | |
tree | aab42f3551266d1120055b2dd0377b762401e12c /tv | |
parent | 707c6b640dca086634581220614c6094ebbcccbf (diff) |
tv binary-cache: drop krebs.secert
Diffstat (limited to 'tv')
-rw-r--r-- | tv/2configs/binary-cache/default.nix | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/tv/2configs/binary-cache/default.nix b/tv/2configs/binary-cache/default.nix index e5342cd54..6ef7a3850 100644 --- a/tv/2configs/binary-cache/default.nix +++ b/tv/2configs/binary-cache/default.nix @@ -11,22 +11,7 @@ services.nix-serve = { enable = true; - secretKeyFile = config.krebs.secret.files.binary-cache-seckey.path; - }; - - systemd.services.nix-serve = { - after = [ - config.krebs.secret.files.binary-cache-seckey.service - ]; - partOf = [ - config.krebs.secret.files.binary-cache-seckey.service - ]; - }; - - krebs.secret.files.binary-cache-seckey = { - path = "/run/secret/nix-serve.key"; - owner.name = "nix-serve"; - source-path = toString <secrets> + "/nix-serve.key"; + secretKeyFile = toString <secrets> + "/nix-serve.key"; }; services.nginx = { |