diff --git a/modules/common/neovim.nix b/modules/common/neovim.nix index 977009f..4230d2b 100644 --- a/modules/common/neovim.nix +++ b/modules/common/neovim.nix @@ -36,6 +36,7 @@ in nodejs nodePackages."sass" + pnpm_9 ] ++ optionals config.onLinux [ #gcc_multi @@ -64,10 +65,14 @@ in }; # TODO: the two from the last (below) should be somehow moved to their own files + home.sessionVariables.PNPM_HOME = + if config.isDarwin then "$HOME/Library/pnpm" else "$HOME/.local/share/pnpm"; + home.sessionPath = [ "node_modules/.bin" "/opt/homebrew/bin" "$HOME/.npm-packages/bin" + "$PNPM_HOME" ]; } ];