aboutsummaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile b/profile
index 8ea4bb2..92ea6ef 100644
--- a/profile
+++ b/profile
@@ -23,7 +23,7 @@ if [ "$(tty)" = "/dev/tty1" ]; then
fi
# Nix
-[ ! -f "$HOME/.nix-profile/etc/profile.d/nix.sh" ] || \
+[ -f "$HOME/.nix-profile/etc/profile.d/nix.sh" ] && \
. "$HOME/.nix-profile/etc/profile.d/nix.sh" # added by Nix installer
echo