Add setup for Nix package manager

This commit is contained in:
2015-07-31 12:17:21 +01:00
parent b9dd829b58
commit d60f06407b
2 changed files with 10 additions and 0 deletions

View File

@@ -18,6 +18,9 @@ elif [ -n "$ZSH_VERSION" ]; then
source "$DOTSHELL/zshrc.sh"
fi
# Package management
source "$DOTSHELL/nix.sh"
# Aliases
source "$DOTSHELL/aliases.sh"

7
shell/nix.sh Normal file
View File

@@ -0,0 +1,7 @@
#
# Nix package manager
#
if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
source "$HOME/.nix-profile/etc/profile.d/nix.sh"
fi