summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/bismuth/default.nix8
1 files changed, 8 insertions, 0 deletions
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"