# A Nix store is three functions

DevFeed: [A Nix store is three functions](<https://devfeed.tech/articles/a-nix-store-is-three-functions-54772.md>)

Original publisher: [Read original article](<https://fzakaria.com/2026/09/11/a-nix-store-is-three-functions>)

Published: 2026-09-12T03:00:00Z

Content type: article

Language: en

Sources: [Farid Zakaria's Blog](<https://devfeed.tech/sources/farid-zakaria-s-blog.md>)

Topics: [Nix](<https://devfeed.tech/topics/nix.md>), [Cross-origin resource sharing (CORS)](<https://devfeed.tech/topics/cors.md>), [GitHub Pages](<https://devfeed.tech/topics/github-pages.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [cors](<https://devfeed.tech/tags/cors.md>), [git](<https://devfeed.tech/tags/git.md>), [github-pages](<https://devfeed.tech/tags/github-pages.md>), [http](<https://devfeed.tech/tags/http.md>), [nix](<https://devfeed.tech/tags/nix.md>)

## AI overview

The article explains that a Nix binary cache can be implemented with three functions and that the underlying storage medium, protocol, and domain can vary. It discusses using GitHub Pages and other static file servers as Nix stores, with signatures and content-addressed archives providing transport independence.

## Source excerpt

While building trynix I needed somewhere to host a store-path that did not exist on cache.nixos.org.1 I wanted to demonstrate that non-Nixpkgs store paths could be booted just as easily. I was also waiting for @domenkozar to enable CORS on cache.nixos.org so I could use it. ↩