environment.variables
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.
Setting a variable to null does nothing. You can override a
variable set by another module to null to unset it.
- Type
attribute set of (null or (list of (signed integer or string or absolute path)) or signed integer or string or absolute path)- Default
{ }- Example
{ EDITOR = "nvim"; VISUAL = "nvim"; }- Declared
- <nixpkgs/nixos/modules/config/shells-environment.nix>