chore(nixbuild): update fish path initialization key
- Replaced `programs.fish.loginShellInit` with `programs.fish.shellInit` for aligning key usage. - Ensures proper Nix path initialization across fish shell sessions.
This commit is contained in:
parent
45c3c766cb
commit
76c3fac834
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Ensure Nix is in PATH for SSH sessions
|
# Ensure Nix is in PATH for SSH sessions
|
||||||
programs.fish.loginShellInit = ''
|
programs.fish.shellInit = ''
|
||||||
set -gx PATH /nix/var/nix/profiles/default/bin $PATH
|
set -gx PATH /nix/var/nix/profiles/default/bin $PATH
|
||||||
set -gx PATH /run/current-system/sw/bin $PATH
|
set -gx PATH /run/current-system/sw/bin $PATH
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue