add pi coding agent module

Manages `~/.pi/agent` config via the itme-brain/pi submodule and
provides nodejs_20 with NPM_CONFIG_PREFIX=~/.npm-global so pi and its
extensions install via the global npm ecosystem.

Pi itself and extensions like pi-mcp-adapter are installed manually
via `npm install -g` rather than packaged through nix — the ecosystem
moves too fast to keep derivations current.
This commit is contained in:
Bryan Ramos 2026-04-27 16:55:26 -04:00
parent 46833d374e
commit 1ca2e5a512
4 changed files with 34 additions and 0 deletions

3
.gitmodules vendored
View file

@ -14,3 +14,6 @@
path = user/modules/bash/bash
url = https://github.com/itme-brain/bash.git
branch = master
[submodule "user/modules/pi/agent"]
path = user/modules/pi/agent
url = git@github.com:itme-brain/pi.git