how to use nh in topgrade #1411
-
|
Howdy, I see in the code that there is support for nh but I do not see how to configure it to use nh, and how to set the NH_FLAKE |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
nhshould automatically be used if bothnixandnhare available, and if at least one of the following environment variables:NH_FLAKE,NH_DARWIN_FLAKE,NH_HOME_FLAKE,NH_OS_FLAKE; are set. These are the environment variables thatnhexpects (https://github.com/nix-community/nh#environment-variables). If you don't know how to set environment variables, you can do that by addingexport ENVVAR=valueto your~/.bashrcor equivalent for your shell.