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.
NH_OS_FLAKE: will take priority fornh oscommands.NH_HOME_FLAKE: will take priority fornh homecommands.NH_DARWIN_FLAKE: will take priority fornh darwincommands.
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>