environment.profileRelativeEnvVars
NixOS option
Attribute set of environment variable. Each attribute maps to a list of relative paths. Each relative path is appended to the each profile of environment.profiles to form the content of the corresponding environment variable.
type: attribute set of list of stringDefault
{ }Example
declared in: nixos/modules/config/shells-environment.nixView source on NixOS/nixpkgs →{
MANPATH = [
"/man"
"/share/man"
];
PATH = [
"/bin"
];
}