From 8d77a593890df4a99e32bdd599088f3c601cff23 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Mon, 9 Sep 2024 19:47:35 +0200 Subject: [PATCH] nixos/services/nix-binary-cache: use nix-serve-ng --- nix-os/services/nix-binary-cache.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix-os/services/nix-binary-cache.nix b/nix-os/services/nix-binary-cache.nix index aaff003..923b0bc 100644 --- a/nix-os/services/nix-binary-cache.nix +++ b/nix-os/services/nix-binary-cache.nix @@ -1,7 +1,10 @@ +{ pkgs, ... }: + { config = { services.nix-serve = { enable = true; + package = pkgs.nix-serve-ng; secretKeyFile = "/var/cache-priv-key.pem"; }; };