mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 03:06:40 +00:00
feat(nix): setup shell and env for nix
This commit is contained in:
6
zshenv
6
zshenv
@@ -130,6 +130,12 @@ if [ -f "/home/linuxbrew/.linuxbrew/bin/brew" ]; then
|
||||
path_prepend "${HOMEBREW_PREFIX}/sbin"
|
||||
fi
|
||||
|
||||
# Nix
|
||||
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
|
||||
source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
|
||||
# export NIX_PATH="$HOME/.nix-defexpr"
|
||||
fi
|
||||
|
||||
# Android SDK environment setup.
|
||||
if [ -d "$HOME/Library/Android/sdk" ]; then
|
||||
export ANDROID_HOME="$HOME/Library/Android/sdk"
|
||||
|
||||
Reference in New Issue
Block a user