nix-cache-beacon is a tool that turns your local network of Nix computers into a shared, distributed package cache. It uses automatic network discovery to find other Nix computers running the same tool, then races all discovered caches when downloading packages so the fastest one wins. Your computer can both download packages from others on the network and share its own cached packages with them. Security is maintained—all packages are still verified with cryptographic signatures before being trusted.
How It Works
You've been using Nix on multiple computers and notice you keep downloading the same packages over and over.
You learn about a tool that can automatically find other Nix computers on your network and share downloaded packages between them.
With a simple NixOS setting, your computer starts announcing itself as a package source to other computers on your network.
The magic happens automatically—your Nix computers discover each other on the local network without any manual setup.
When you need a package, your computer asks all discovered caches at once and uses whichever responds first.
Other computers on your network can download packages from your computer's cached store.
Every package is still verified with cryptographic signatures before it's trusted, just like normal Nix behavior.
Download once, share everywhere—your entire network of Nix computers works together as one fast, distributed package cache.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.