Flake discovery
FlakeHub provides several ways of discovering flakes that have been published to the platform.
Search
The FlakeHub UI provides a search bar that enables you to search for flakes using arbitrary search queries, such as “rust” or “nix neovim.” You can activate the search bar using ⌘ + K or Ctrl + K.
You can also search using the FlakeHub CLI’s search command.
Here’s an example:
fh search waylandListing
fh enables you to list a variety of resources on FlakeHub.
By default, fh list commands print the list as a table but you can print JSON instead using the --json flag.
All flakes
You can see a listing of all available flakes at flakehub.com/flakes or using fh:
fh list flakes
# JSON
fh list flakes --jsonAll organizations
You can see a listing of all public organizations at flakehub.com/orgs or using fh:
fh list orgsReleases for a flake
You can see a listing of all releases of a flake at a URL with this structure:
https://api.flakehub.com/f/:org/:project/releases
staticrequired
You can also use the fh’s list releases command:
fh list releases ublue-os/fleekMatching versions
You can see a listing of all flake versions matching a version constraint at a URL with this structure:
https://api.flakehub.com/version/:org/:project/:version-req
staticrequired
You can also use the fh’s list versions command:
fh list versions DeterminateSystems/flake-checker "0.1.*"By label
You can see a listing of all flakes bearing a specific label at a URL with this structure:
https://flakehub.com/label/:label
staticrequired
You can also use the fh’s list label command:
fh list label nixos