From dd47581a5f347ec8070abbd5eee690d599ee95ed Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 22 Oct 2024 17:49:08 +0200 Subject: Create nix store binary cache from bismuth for slower machines Signed-off-by: Mel --- machines/bismuth/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'machines/bismuth/default.nix') diff --git a/machines/bismuth/default.nix b/machines/bismuth/default.nix index 8dbdd14..2663703 100644 --- a/machines/bismuth/default.nix +++ b/machines/bismuth/default.nix @@ -13,6 +13,14 @@ networking.hostName = "Bismuth"; + # run binary cache for slower machines + services.nix-serve = { + enable = true; + # note: can we get this value from somewhere? + bindAddress = "100.85.58.31"; # bismuth tailnet ip + secretKeyFile = "/var/bismuth-cache.pem"; + }; + # expose vm web interface to tailnet services.tailscale.extraUpFlags = [ "--advertise-routes=192.168.122.100/32" -- cgit 1.4.1