This repository generates and publishes several large .json
files from the Nix ecosystem, updated daily using GitHub Actions.
The workflow builds and publishes the following files:
home-manager.json
— Options from home-managernixos.json
— Options from nixpkgs (NixOS module system)nixpkgs.json
— Package metadata from nixpkgs (including all packages)darwin.json
— Options from nix-darwinnur.json
— Package metadata from NUR
These files can be used for documentation, search engines, developer tools, or exploration of the Nix ecosystem.
The workflow is defined in .github/workflows/update.yml
and runs every night at 00:00 UTC. It:
- Installs Nix and Go.
- Runs custom Go scripts in
.github/go/
to extract and generate JSON. - Builds
home-manager/options.json
using a Nix flake. - Publishes the files as release assets to the
latest
release.
The latest files are available at:
https://github.com/anotherhadi/nix-json/releases/latest/download/<filename>.json
For example:
Created by @anotherhadi · Powered by Nix and Github