fix: use homebrew node instead of nix read-only nodejs

- nodejs from nixpkgs is read-only, breaks pi-coding-agent internal npm install
- Use homebrew node (writable) for proper npm/pnpm global installs
- Remove pi-node hardcoded path hack from PATH
This commit is contained in:
mikl 2026-07-10 23:20:02 +03:00
parent 5ac51e1f7f
commit c21268fb9b
3 changed files with 4 additions and 3 deletions

View file

@ -20,7 +20,7 @@
micro micro
# Node.js ecosystem # Node.js ecosystem
nodejs # runtime for pi-coding-agent and other JS tools # nodejs # read-only в nix store не подходит для pi (npm install ломается)
pnpm # fast node package manager pnpm # fast node package manager
# Secrets # Secrets

View file

@ -36,9 +36,9 @@
"${config.home.homeDirectory}/bin" "${config.home.homeDirectory}/bin"
"${config.home.homeDirectory}/.local/bin" "${config.home.homeDirectory}/.local/bin"
# npm/pnpm global — установи pi через: pnpm i -g @mariozechner/pi-coding-agent # npm/pnpm global
"${config.home.homeDirectory}/.npm-global/bin" "${config.home.homeDirectory}/.npm-global/bin"
"${config.home.homeDirectory}/.local/share/pnpm" "${config.home.homeDirectory}/.local/share/pnpm/bin"
# opencode (если установлен) # opencode (если установлен)
"${config.home.homeDirectory}/.opencode/bin" "${config.home.homeDirectory}/.opencode/bin"

View file

@ -12,6 +12,7 @@
brews = [ brews = [
"kew" "kew"
"tea" # Forgejo/Gitea CLI "tea" # Forgejo/Gitea CLI
"node" # Node.js для pi-coding-agent (не из nix — read-only)
]; ];
casks = [ casks = [