aboutsummaryrefslogtreecommitdiffhomepage
path: root/.zshenv
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-04-02 09:07:56 +0900
committernsfisis <nsfisis@gmail.com>2023-09-01 09:25:39 +0900
commit6764aa5601311db4e66ade7f58eaed748210b3b1 (patch)
treee4a2b3be7c94ab8e53968e5fe5a3a583c4deb819 /.zshenv
parent490c6191717a930d6d7a38c97b1460730e8f1191 (diff)
downloaddotfiles-6764aa5601311db4e66ade7f58eaed748210b3b1.tar.gz
dotfiles-6764aa5601311db4e66ade7f58eaed748210b3b1.tar.zst
dotfiles-6764aa5601311db4e66ade7f58eaed748210b3b1.zip
home-manager: introduce home-manager
Diffstat (limited to '.zshenv')
-rw-r--r--.zshenv8
1 files changed, 8 insertions, 0 deletions
diff --git a/.zshenv b/.zshenv
index 9aa9d62..a29fc68 100644
--- a/.zshenv
+++ b/.zshenv
@@ -12,3 +12,11 @@ export SQLITE_HISTORY="$XDG_CACHE_HOME/sqlite_history"
# Path
export PATH="$HOME/bin:$HOME/.local/bin:$PATH"
+
+# Nix
+if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
+ . "$HOME/.nix-profile/etc/profile.d/nix.sh"
+fi
+if [ -e "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" ]; then
+ . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
+fi