programs.nh.flake

The string that will be used for the NH_FLAKE environment variable.

NH_FLAKE is used by nh as the default flake for performing actions, such as nh os switch. This behaviour can be overriden per-command with environment variables that will take priority.

The formerly valid FLAKE is now deprecated by nh, and will cause hard errors in future releases if NH_FLAKE is not set.

Type
null or string
Default
null
Declared
<nixpkgs/nixos/modules/programs/nh.nix>