MyNixOS website logo

A set of environment variables used in the global environment. These variables will be set on shell initialisation (e.g. in /etc/profile). The value of each variable can be either a string or a list of strings. The latter is concatenated, interspersed with colon characters.

Declarations
Type
attribute set of ((list of string) or string or path)
Default
{ }
Example
{
  EDITOR = "nvim";
  VISUAL = "nvim";
}