tv binary-cache: use nix-serve-ng

This commit is contained in:
tv 2022-09-15 20:35:43 +02:00
parent 4c075ee6ff
commit 707c6b640d

View File

@ -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;