Files
nixos-config/home/features/coding/pi.nix
2026-04-13 21:28:13 +02:00

45 lines
1.0 KiB
Nix

{inputs, ...}: {
coding.agents.pi = {
enable = true;
agentsInput = inputs.agents;
container = {
enable = true;
name = "pi-agent";
projectRoots = ["/home/m3tam3re/p"];
autoStart = true;
autoNixDevelop = true;
extraRunArgs = [];
extraEnv = {
NIX_CONFIG = "experimental-features = nix-command flakes";
};
};
modelOverrides = {
chiron = "zai-coding-plan/glm-5.1";
chiron-forge = "zai-coding-plan/glm-5.1";
};
settings = {
packages = [
"npm:@thesethrose/pi-zai-provider"
"npm:pi-mcp-adapter"
"npm:pi-subagents"
"npm:pi-lens"
"npm:pi-web-access"
"npm:pi-prompt-template-model"
"npm:@plannotator/pi-extension"
"npm:pi-powerline-footer"
"npm:pi-markdown-preview"
];
defaultProvider = "zai";
defaultModel = "glm-5.1";
defaultThinkingLevel = "medium";
};
# MCP servers auto-inherited from programs.mcp in default.nix
};
}