Add special non-nixos zsh loader
This commit is contained in:
parent
b4e96cb2e8
commit
772dd74d1c
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,13 @@
|
||||||
export PATH="$HOME/.cargo/bin:$PATH";
|
export PATH="$HOME/.cargo/bin:$PATH";
|
||||||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH";
|
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH";
|
||||||
'';
|
'';
|
||||||
|
envExtra = ''
|
||||||
|
if [[ -z `nixos-version` ]]; then
|
||||||
|
source /home/cyryl/.nix-profile/etc/profile.d/nix.sh
|
||||||
|
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
|
||||||
|
echo "non-nixos patches loaded"
|
||||||
|
fi
|
||||||
|
'';
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
TERM="xterm-256color";
|
TERM="xterm-256color";
|
||||||
EDITOR="vim";
|
EDITOR="vim";
|
||||||
|
|
Loading…
Reference in a new issue