environment.extraInit

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
<nixpkgs/nixos/modules/config/shells-environment.nix>