MyNixOS website logo

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 for nh os commands.
  • NH_HOME_FLAKE: will take priority for nh home commands.
  • NH_DARWIN_FLAKE: will take priority for nh darwin commands.

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

Declarations
    Type
    null or string
    Default
    null