Add pi code and skills
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{config, pkgs, ... }:
|
||||
|
||||
|
||||
{
|
||||
@@ -250,6 +250,33 @@ dconf.settings."org/gnome/desktop/interface" = {
|
||||
"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
|
||||
zip
|
||||
p7zip
|
||||
|
||||
# This creates a 'pi' command that runs the latest agent via npx
|
||||
(writeShellScriptBin "pi" ''
|
||||
${pkgs.nodejs_20}/bin/npx @mariozechner/pi-coding-agent "$@"
|
||||
'')
|
||||
|
||||
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user