aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/zsh/dot_zprofile
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-06-18 12:06:20 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-06-18 12:06:20 +0100
commit511793cba498f52b0f92904965ea5c9afa8b6ea4 (patch)
treea9dd9af537e4a0cf94c4da14987968b640f3ceb6 /dot_config/zsh/dot_zprofile
parentf521c2568533e38fb78956de63403917f1fad504 (diff)
downloaddotfiles-511793cba498f52b0f92904965ea5c9afa8b6ea4.tar.gz
dotfiles-511793cba498f52b0f92904965ea5c9afa8b6ea4.tar.bz2
dotfiles-511793cba498f52b0f92904965ea5c9afa8b6ea4.zip
Reduce Arch package surface
Diffstat (limited to 'dot_config/zsh/dot_zprofile')
-rw-r--r--dot_config/zsh/dot_zprofile6
1 files changed, 6 insertions, 0 deletions
diff --git a/dot_config/zsh/dot_zprofile b/dot_config/zsh/dot_zprofile
index b95079b..20852db 100644
--- a/dot_config/zsh/dot_zprofile
+++ b/dot_config/zsh/dot_zprofile
@@ -29,6 +29,12 @@ export XDG_CACHE_HOME="$HOME/.cache"
# even if /etc/profile.d snippets try to prepend duplicates.
[[ -r /etc/profile ]] && emulate sh -c 'source /etc/profile'
+# Home Manager writes host-specific session variables here. Keep this after
+# /etc/profile so Nix/HM values can provide user-level tool wiring without
+# being clobbered by distro profile snippets.
+[[ -r "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" ]] &&
+ emulate sh -c ". \"$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh\""
+
# ── Locale ────────────────────────────────────────────────────────────────────
export LANG=en_US.UTF-8