nixos-passthru-cache Beta

Stop downloading the same bytes twice.

Point Nix at https://hetzner-cache.numtide.com and keep artifacts close. Faster builds. Lower egress. Happier teams.

Upstream: https://cache.nixos.org • This instance: hetzner-cache.numtide.com • Scheme: https

cache.nixos.org serves billions of requests and petabytes of data every month.

Keep those bytes on your network. Spend your time — and your budget — on shipping, not redownloading.

Use This Cache (NixOS)

Add to your system configuration
{
  nix.settings.extra-substituters = [ "https://hetzner-cache.numtide.com" ];
}

Replace the hostname if you access this via a different address.

Use This Cache (nix.conf)

Drop into /etc/nix/nix.conf or ~/.config/nix/nix.conf
extra-substituters = https://hetzner-cache.numtide.com

Health Checks

curl -I https://hetzner-cache.numtide.com/nix-cache-info
curl -I https://hetzner-cache.numtide.com/status   # stats (if enabled)

Look for X-Cache-Status headers and HTTP 200 responses.

Stats: /status

Deploy Your Own

NixOS (public hostname):

{
  imports = [ inputs.nixos-passthru-cache.nixosModules.nixos-passthru-cache ];
  services.nixos-passthru-cache.enable = true;
  services.nixos-passthru-cache.hostName = "cache.example.org";
}

NixOS (LAN mode):

{
  services.nixos-passthru-cache.enable = true;
  services.nixos-passthru-cache.lanMode = true; # defaults to hostname.local
}

Read more in the README.