LinuxCommandLibrary

nix-registry

manages the Nix flake registry

TLDR

List registries

$ nix registry list
copy
Pin flake to specific version
$ nix registry pin [nixpkgs]
copy
Add registry entry
$ nix registry add [myflake] [github:owner/repo]
copy
Remove registry entry
$ nix registry remove [myflake]
copy

SYNOPSIS

nix registry command [options]

DESCRIPTION

nix registry manages the Nix flake registry. The registry provides shorthand names for flake URLs. Enables pinning flakes to specific versions for reproducibility.

PARAMETERS

list

List registry entries.
add name flake
Add flake alias.
remove name
Remove alias.
pin name
Pin flake to current version.

SEE ALSO

nix(1), nix-flake(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community