environment.extraInit

NixOS option

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 →