nixos: inline set-environment for bash and zsh

(cherry picked from commit b00a3fc6fd82834114771f2115a2b032f0ebfe29)
release-18.03-flake
Daiderd Jordan 2017-10-14 21:19:07 +02:00
parent 9defa1d4c0
commit a4340341a6
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ in
programs.bash = {
shellInit = ''
. ${config.system.build.setEnvironment}
${config.system.build.setEnvironment.text}
${cfge.shellInit}
'';

View File

@ -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}