nixpkgs/home/files/profile
Daniel Siepmann 51fbae7d71
Move user / system specifics to .profile file instead of .zshrc
This ensures it is properly set on login.
Tools like dmenu and such are properly find when installed by nix.
This was not zsh specific anyway.
2022-02-11 11:35:34 +01:00

9 lines
382 B
Bash

if [[ -z $SSH_AGENT_PID ]]; then
hash ssh-agent 2> /dev/null && eval $(ssh-agent) > /dev/null
fi
# "install" nix
if [ -e /home/daniels/.nix-profile/etc/profile.d/nix.sh ]; then . /home/daniels/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
export LOCALE_ARCHIVE="$(readlink ~/.nix-profile/lib/locale)/locale-archive"
export NIX_PATH=$HOME/.nix-defexpr/channels