summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/binary-cache/server.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-17 18:54:10 +0100
committerlassulus <lassulus@lassul.us>2021-12-17 18:54:10 +0100
commitde442ba8ada44d26db9203f96560f077cc10ab17 (patch)
tree96007accda4390a9990423ae4be8dd8b76119761 /makefu/2configs/binary-cache/server.nix
parent9e2e237af5531e482f4a5777dfcb326eaa23fdf4 (diff)
ma binary-cache server: use key without secret.service
Diffstat (limited to 'makefu/2configs/binary-cache/server.nix')
-rw-r--r--makefu/2configs/binary-cache/server.nix15
1 files changed, 1 insertions, 14 deletions
diff --git a/makefu/2configs/binary-cache/server.nix b/makefu/2configs/binary-cache/server.nix
index 2e05fd52e..c1ae16e29 100644
--- a/makefu/2configs/binary-cache/server.nix
+++ b/makefu/2configs/binary-cache/server.nix
@@ -6,22 +6,9 @@
services.nix-serve = {
enable = true;
port = 5001;
- secretKeyFile = config.krebs.secret.files.nix-serve-key.path;
+ secretKeyFile = toString <secrets> + "/nix-serve.key";
};
- systemd.services.nix-serve = {
- after = [
- config.krebs.secret.files.nix-serve-key.service
- ];
- partOf = [
- config.krebs.secret.files.nix-serve-key.service
- ];
- };
- krebs.secret.files.nix-serve-key = {
- path = "/run/secret/nix-serve.key";
- owner.name = "nix-serve";
- source-path = toString <secrets> + "/nix-serve.key";
- };
services.nginx = {
enable = true;
virtualHosts."cache.euer.krebsco.de" = {