EmbeddingGemma 2: an open, lightweight multimodal embedding model
deepmind.google·6d ago
TL;DR
A free Nix substituter was created by hosting non-Nixpkgs store paths on GitHub Pages, which automatically supports lenient CORS policies. This demonstrates the ease of booting non-standard Nix store paths.
✦ Why It Matters
Consider using GitHub Pages to host your own Nix store paths for greater flexibility.
Key Takeaways
How It Works
To function as a Nix binary cache, a server must implement three HTTP requests: fetching cache info, metadata for a specific archive, and the archive itself. This allows for flexibility in the medium used, as Nix does not rely on the transport method for security.
Instead, it verifies the integrity of the fetched archive using a hash.
Related