Trouble with $PATH in macOS Nix setup
Macos nix users, I've got a conundrum. I've finally nix-ified my machine with nix-darwin and home-manager but somehow $PATH is getting modified for applications launched via the dock or spotlight and I can't for the life of me figure out where. Specifically
/opt/homebrew/bin is getting prepended to $PATH and this is causing problems in vscode. homebrew stuff is getting run when it should be nix stuff. I've looked in all suspect locations, profile zshrc bash_profile bashrc in both /etc and ~. Used ripgrep to search everywhere but still can't find it. Any ideas about what I could be missing and where the path modification might be creeping in?