aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-09-20 13:35:10 +0200
committerKarel Kočí <cynerd@email.cz>2021-09-20 13:35:10 +0200
commit1af240d7d6ea531390eca8184ed05c86739ad05b (patch)
tree4dd4f5ee3d201388b076b37151562ba4781b57db
parentb122ba5087d466c7b2fb41b71f8dee708bec67ec (diff)
downloadmyconfigs-1af240d7d6ea531390eca8184ed05c86739ad05b.tar.gz
myconfigs-1af240d7d6ea531390eca8184ed05c86739ad05b.tar.bz2
myconfigs-1af240d7d6ea531390eca8184ed05c86739ad05b.zip
profile: tweak the nix syntax
m---------private0
-rw-r--r--profile2
2 files changed, 1 insertions, 1 deletions
diff --git a/private b/private
-Subproject 571a9717c5273a3aecccb9c5419b2754561962c
+Subproject 88840e604568d14e0e8bdc0f21bdfa1e7b91691
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