2026-04-13 16:44:18 +02:00
|
|
|
{inputs, ...}: {
|
|
|
|
|
coding.agents.pi = {
|
|
|
|
|
enable = true;
|
|
|
|
|
agentsInput = inputs.agents;
|
|
|
|
|
|
|
|
|
|
modelOverrides = {
|
2026-04-22 17:59:23 +02:00
|
|
|
chiron = "minimax/MiniMax-M2.7";
|
|
|
|
|
chiron-forge = "minimax/MiniMax-M2.7";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Coding rules for Pi agent
|
|
|
|
|
# Rules sourced from AGENTS repo
|
|
|
|
|
codingRules = {
|
|
|
|
|
# Language-specific rules
|
|
|
|
|
languages = [
|
|
|
|
|
"nix" # Nix language conventions
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# Standard concerns from AGENTS repo
|
|
|
|
|
concerns = [
|
|
|
|
|
"coding-style" # General coding principles
|
|
|
|
|
"naming" # Naming conventions (camelCase, snake_case, etc.)
|
|
|
|
|
"documentation" # Documentation standards
|
|
|
|
|
"testing" # Testing guidelines (Arrange-Act-Assert)
|
|
|
|
|
"git-workflow" # Conventional commits, branch naming
|
|
|
|
|
"project-structure" # Project layout conventions
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# No framework-specific rules for NixOS config
|
|
|
|
|
frameworks = [];
|
2026-04-13 16:44:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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"
|
2026-04-22 17:59:23 +02:00
|
|
|
"npm:pi-tool-display"
|
2026-04-21 19:00:49 +02:00
|
|
|
"npm:pi-agent-browser-native"
|
2026-04-22 17:59:23 +02:00
|
|
|
"git:github.com/hk-vk/pi-connect"
|
2026-04-13 16:44:18 +02:00
|
|
|
];
|
|
|
|
|
|
2026-04-22 17:59:23 +02:00
|
|
|
defaultProvider = "minimax";
|
|
|
|
|
defaultModel = "MiniMax-M2.7";
|
2026-04-21 19:00:49 +02:00
|
|
|
defaultThinkingLevel = "high";
|
2026-04-13 16:44:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# MCP servers auto-inherited from programs.mcp in default.nix
|
|
|
|
|
};
|
|
|
|
|
}
|