nixos: inline set-environment for bash and zsh
(cherry picked from commit b00a3fc6fd82834114771f2115a2b032f0ebfe29)release-18.03-flake
parent
9defa1d4c0
commit
a4340341a6
|
@ -126,7 +126,7 @@ in
|
|||
programs.bash = {
|
||||
|
||||
shellInit = ''
|
||||
. ${config.system.build.setEnvironment}
|
||||
${config.system.build.setEnvironment.text}
|
||||
|
||||
${cfge.shellInit}
|
||||
'';
|
||||
|
|
|
@ -108,7 +108,7 @@ in
|
|||
if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
|
||||
export __ETC_ZSHENV_SOURCED=1
|
||||
|
||||
. ${config.system.build.setEnvironment}
|
||||
${config.system.build.setEnvironment.text}
|
||||
|
||||
${cfge.shellInit}
|
||||
|
||||
|
|
Loading…
Reference in New Issue