summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-09-15 20:35:43 +0200
committertv <tv@krebsco.de>2022-09-15 21:36:15 +0200
commit707c6b640dca086634581220614c6094ebbcccbf (patch)
tree8f0e803f9167df7772410abba3a673829cb92a78
parent4c075ee6ffc9202cf7ba5426e83c49b83254949e (diff)
tv binary-cache: use nix-serve-ng
-rw-r--r--tv/2configs/binary-cache/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/tv/2configs/binary-cache/default.nix b/tv/2configs/binary-cache/default.nix
index f6eaba36f..e5342cd54 100644
--- a/tv/2configs/binary-cache/default.nix
+++ b/tv/2configs/binary-cache/default.nix
@@ -3,6 +3,12 @@
environment.etc."binary-cache.pubkey".text =
config.krebs.build.host.binary-cache.pubkey;
+ nixpkgs.overlays = [
+ (self: super: {
+ nix-serve = self.haskellPackages.nix-serve-ng;
+ })
+ ];
+
services.nix-serve = {
enable = true;
secretKeyFile = config.krebs.secret.files.binary-cache-seckey.path;