fix: remove duplicate PATH export from zsh, use sessionVariables only
This commit is contained in:
parent
9c299b26ca
commit
ee93330eea
2 changed files with 2 additions and 4 deletions
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
home.sessionVariables = {
|
||||
SEARXNG_URL = "https://search.iscg.dev";
|
||||
# NOTE: must include /run/current-system/sw/bin for darwin-rebuild
|
||||
PATH = "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:/run/current-system/sw/bin:/etc/profiles/per-user/mikl/bin:$HOME/.nix-profile/bin:$HOME/bin:$HOME/.local/bin:$HOME/.npm-global/bin:/Users/mikl/.opencode/bin:/Users/mikl/.local/share/pi-node/node-v22.23.1-darwin-arm64/bin";
|
||||
EDITOR = "micro";
|
||||
VISUAL = "micro";
|
||||
|
|
|
|||
|
|
@ -72,11 +72,8 @@
|
|||
fi
|
||||
'';
|
||||
|
||||
# Init content - uses lib.mkBefore to run before home-manager generated code
|
||||
# Init content
|
||||
initContent = lib.mkMerge [
|
||||
(lib.mkBefore ''
|
||||
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:$HOME/.nix-profile/bin:/etc/profiles/per-user/mikl/bin:$PATH"
|
||||
'')
|
||||
''
|
||||
# Show fastfetch on shell start
|
||||
echo
|
||||
|
|
|
|||
Loading…
Reference in a new issue