aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-11-02 18:29:42 +0100
committerKarel Kočí <cynerd@email.cz>2019-11-02 18:29:42 +0100
commit516113e50c21d4444cd74d991dcb27793b092187 (patch)
tree58377614e91bab127b903f0566e8e11d01f95ac8
parentc39802ec4c8e0533c88ba87fb6d7f52da63e7573 (diff)
downloadmyconfigs-516113e50c21d4444cd74d991dcb27793b092187.tar.gz
myconfigs-516113e50c21d4444cd74d991dcb27793b092187.tar.bz2
myconfigs-516113e50c21d4444cd74d991dcb27793b092187.zip
profile: add Nix
-rw-r--r--profile4
1 files changed, 4 insertions, 0 deletions
diff --git a/profile b/profile
index 55d2ad2..8971583 100644
--- a/profile
+++ b/profile
@@ -17,6 +17,10 @@ if [ "$(tty)" = "/dev/tty1" ]; then
exec startx -- vt1
fi
+# Nix
+[ ! -f "$HOME/.nix-profile/etc/profile.d/nix.sh" ] || \
+ . "$HOME/.nix-profile/etc/profile.d/nix.sh" # added by Nix installer
+
echo
echo "(1) i3"
echo "(2) sway"