FlakeHub
FlakeHub is a platform for publishing and discovering Nix flakes built by Determinate Systems.
Use our handy publishing wizard to publish your flake in no time.
Features
FlakeHub brings a variety of new capabilities to the Nix ecosystem, including:
- Semantic versioning for Nix flakes
- Support for private flakes
- FlakeHub Cache, an advanced Nix binary cache
- Resolved store paths for more efficient deployment of Nix artifacts
- A variety of ways to discover flakes
Semantic versioning
Nix by itself has no built-in concept of semantic versioning (SemVer). FlakeHub enables you to use a subset of SemVer with your Nix flakes.
Private flakes
Private flakes are flakes that are accessible only to users who are both authenticated with FlakeHub and granted access to the flake.
FlakeHub Cache
FlakeHub Cache is a powerful new binary caching concept for Nix that:
- Enables you to control access at the Git repository level.
- Uses a flexible and convenient authentication model that doesn’t require juggling access keys.
Resolved store paths
Evaluating store paths is an expensive operation in Nix and that can be a barrier to efficient deployment, especially on resource-constrained devices. FlakeHub solves this problem by resolving and persisting store paths for you so that you can…
- Fetch artifacts using
fh resolve
and - Apply NixOS, Home Manager, and nix-darwin configurations to the current system using
fh apply
…directly from FlakeHub Cache without needing to evaluate the store path.
Flake discovery
FlakeHub provides you with several ways to discover flakes published to the platform, including:
- Plaintext search
- Lists for:
- All flakes
- All orgs
- Flake releases
- Flake versions matching a version constraint