Add pi code and skills

This commit is contained in:
2026-05-04 11:58:58 +10:00
parent 72768cb4fd
commit ad7d0f3be4

View File

@@ -250,6 +250,33 @@ dconf.settings."org/gnome/desktop/interface" = {
"X-Goog-Api-Key" = builtins.getEnv "STITCH_API_KEY"; "X-Goog-Api-Key" = builtins.getEnv "STITCH_API_KEY";
}; };
}; };
home.file.".agents/skills" = {
source = ./config/agents/skills;
recursive = true;
};
home.file.".pi/agent" = {
source = ./config/pi/agent;
recursive = true;
};
# n8n = {
# type = "local";
# command = [
# "npx"
# "-y"
# "supergateway"
# "--streamableHttp"
# "http://n8n.home.lab/mcp-server/http"
# "--header"
# "authorization:Bearer " + builtins.getEnv "N8N_MCP_TOKEN"
# ];
# enabled = true;
# timeout = 30000;
# };
}; };
}; };
}; };
@@ -454,6 +481,13 @@ dconf.settings."org/gnome/desktop/interface" = {
unzip unzip
zip zip
p7zip p7zip
# This creates a 'pi' command that runs the latest agent via npx
(writeShellScriptBin "pi" ''
${pkgs.nodejs_20}/bin/npx @mariozechner/pi-coding-agent "$@"
'')
]; ];
} }