3
Adding custom commands to $PATH
(lemmy.ca)
Not sure what the issue is, but I hope this helps:
home.sessionPath
ends up in $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
, which (in my system, at least) is referenced from ~/.profile
.~/.profile
is only executed by login shells (ie. you have to logout and back in for it to be re-evaluated, or of course you can just source
it)~/.profile
if there is a ~/.bash_profile
or ~/.bash_login
(IIRC)All about NixOS - https://nixos.org/