MyNixOS website logo
option

environment.sessionVariables

A set of environment variables used in the global environment. These variables will be set by PAM early in the login process.

The value of each session variable can be either a string or a list of strings. The latter is concatenated, interspersed with colon characters.

Note, due to limitations in the PAM format values may not contain the " character.

Also, these variables are merged into and it is therefore not possible to use PAM style variables such as @{HOME}.

Declarations
Type
attribute set of ((list of string) or string or path)
Default
{ }