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 | f3ed693a70fe80b5eb536cd32b2cfe38e06226f1 (patch) | |
tree | c7fb394ad9c5269ecfaf77a64f4f617feded4826 /tv | |
parent | 73d87fbf52b0b52f3c147df57f40cc133d917802 (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 e5342cd..6ef7a38 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 = { |