environment.extraInit

NixOS option

strings concatenated with "\n"
Written as a quoted string

Shell script code called during global environment initialisation after all variables and profileVariables have been set. This code is assumed to be shell-independent, which means you should stick to pure sh without sh word split.

type: strings concatenated with "\n"
Default
""
declared in: nixos/modules/config/shells-environment.nixView source on NixOS/nixpkgs →