commands.sh

nix flake show

all

Show outputs provided by a flake.

More info →

Examples (4)

Show all the outputs of the flake in the current directory

Show all the outputs of a flake on GitHub and print the output as a json on a single line

nix flake show github:owner/repo --json --no-pretty

Show all the `legacyPackages` outputs of a flake on GitHub and print the output as a multi-line indented json

nix flake show github:owner/repo --json --pretty --legacy

List all available flake templates for `nix flake init`

nix flake show templates
made by @shridhargupta | data from tldr-pages