diff --git a/shell/_main.sh b/shell/_main.sh index a5218f5..c3650c9 100644 --- a/shell/_main.sh +++ b/shell/_main.sh @@ -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" diff --git a/shell/nix.sh b/shell/nix.sh new file mode 100644 index 0000000..ded7eb5 --- /dev/null +++ b/shell/nix.sh @@ -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