Configuration
flake
Flake subcommands for inputs, lock file and metadata.
NixOS
Verified: 2026-05-11
Syntax
$nix flake [COMMAND] [OPTIONS]
Examples
$nix flake update
$nix flake lock
$nix flake check
Typical use cases
?
Standard usage
flake --help
Note
Core workflow for modern flake-based NixOS setups.
Export