The author demonstrates that GitHub Pages and Releases can serve as a free Nix binary cache due to their lenient CORS policy and flat file serving. Building on tomberek's github-store, the technique involves committing Nix store paths (via `nix copy --to file://`) to a Git repo, enabling non-Nixpkgs packages to be fetched without a traditional cache.
Background
Nix binary caches are typically hosted on dedicated servers or services like cache.nixos.org. This technique leverages widely available static file hosting to democratize cache access.
- Source
- Lobsters
- Published
- Sep 15, 2026 at 12:07 PM
- Score
- 6.0 / 10