2026-10-25 12:47:09 +01:00
|
|
|
# AI agent system — OpenCode, Claude Code, ai-memory and MCP server configuration.
|
2026-05-02 09:08:40 +02:00
|
|
|
# Relies on coding.agents options provided by home/common/default.nix
|
2026-06-06 13:13:58 +02:00
|
|
|
# (m3taHomeInputs.m3ta-nixpkgs.homeManagerModules.default).
|
2026-05-02 09:08:40 +02:00
|
|
|
{
|
2026-06-06 13:13:58 +02:00
|
|
|
m3taHomeInputs,
|
2026-05-02 09:08:40 +02:00
|
|
|
pkgs,
|
|
|
|
|
videoDrivers ? [],
|
|
|
|
|
...
|
|
|
|
|
}: {
|
|
|
|
|
# Agent Git Identity configuration
|
|
|
|
|
# Note: Uses existing gitea SSH key (m3tam3re identity) for push auth
|
|
|
|
|
coding.agents.gitIdentity = {
|
|
|
|
|
enable = true;
|
|
|
|
|
name = "m3ta-chiron";
|
|
|
|
|
email = "m3ta-chiron@agentmail.to";
|
|
|
|
|
sshKey = "/home/m3tam3re/.ssh/gitea";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
imports = [
|
2026-10-25 12:47:09 +01:00
|
|
|
# ai-memory client, skill mirror and OpenCode config
|
|
|
|
|
./ai-memory.nix
|
2026-10-24 09:35:35 +02:00
|
|
|
./claude-skills.nix
|
2026-05-02 09:08:40 +02:00
|
|
|
./opencode.nix
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
programs.mcp = {
|
|
|
|
|
enable = true;
|
|
|
|
|
servers = {
|
2026-07-30 14:50:43 +02:00
|
|
|
ContextMode = {
|
|
|
|
|
command = "bash";
|
|
|
|
|
args = ["-c" "exec bunx context-mode@latest"];
|
|
|
|
|
};
|
2026-05-02 09:08:40 +02:00
|
|
|
DeepWiki = {
|
|
|
|
|
url = "https://mcp.deepwiki.com/mcp";
|
|
|
|
|
};
|
|
|
|
|
Exa = {
|
|
|
|
|
command = "bash";
|
|
|
|
|
args = ["-c" "EXA_API_KEY=$(cat /run/agenix/exa-key) exec bunx exa-mcp-server@latest tools=web_search_exa"];
|
|
|
|
|
};
|
2026-08-25 20:09:58 +02:00
|
|
|
SallyAI = {
|
|
|
|
|
url = "https://app.sally.io/api/v1/McpExternal";
|
2026-07-30 14:50:43 +02:00
|
|
|
};
|
2026-10-09 03:16:39 +02:00
|
|
|
Metabase = {
|
|
|
|
|
url = "https://kpi.az-gruppe.com/api/metabase-mcp";
|
|
|
|
|
};
|
2026-05-02 09:08:40 +02:00
|
|
|
Outline = {
|
|
|
|
|
url = "https://wiki.az-gruppe.com/mcp";
|
|
|
|
|
};
|
2026-06-08 06:38:43 +02:00
|
|
|
Playwright = {
|
|
|
|
|
command = "bash";
|
|
|
|
|
args = ["-c" "exec bunx @playwright/mcp@latest"];
|
|
|
|
|
};
|
2026-07-30 14:50:43 +02:00
|
|
|
Ref = {
|
|
|
|
|
command = "bash";
|
|
|
|
|
args = ["-c" "REF_API_KEY=$(cat /run/agenix/ref-key) exec bunx ref-tools-mcp@latest"];
|
|
|
|
|
};
|
|
|
|
|
Teams = {
|
|
|
|
|
command = "bunx";
|
|
|
|
|
args = ["-y" "@floriscornel/teams-mcp@latest"];
|
|
|
|
|
};
|
2026-05-02 09:08:40 +02:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2026-08-31 11:44:22 +02:00
|
|
|
# NOTE: llm-agent packages are consumed via the `llm-agents` namespace
|
|
|
|
|
# (pkgs.llm-agents.*), provided by numtide/llm-agents.nix's
|
|
|
|
|
# `overlays.shared-nixpkgs`. The consumer's nixos-config MUST apply that
|
|
|
|
|
# overlay — namespaced refs fail loudly if it is missing, instead of
|
|
|
|
|
# silently falling back to (outdated) nixpkgs attributes.
|
2026-05-02 09:08:40 +02:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
|
agenix-cli
|
2026-10-04 15:25:17 +02:00
|
|
|
agent-lib
|
2026-08-31 11:44:22 +02:00
|
|
|
llm-agents.agent-browser
|
|
|
|
|
llm-agents.beads
|
2026-10-22 10:03:24 +02:00
|
|
|
llm-agents.claude-code
|
|
|
|
|
llm-agents.claude-desktop
|
2026-07-02 20:26:03 +02:00
|
|
|
crunch
|
2026-08-02 16:34:20 +02:00
|
|
|
docker-sbx
|
2026-08-31 11:44:22 +02:00
|
|
|
llm-agents.herdr
|
|
|
|
|
(llm-agents.qmd.override {
|
2026-05-02 09:08:40 +02:00
|
|
|
vulkanSupport = videoDrivers == ["amdgpu"];
|
|
|
|
|
cudaSupport = videoDrivers == ["nvidia"];
|
|
|
|
|
})
|
2026-10-09 03:03:07 +02:00
|
|
|
llm-agents.officecli
|
2026-09-25 07:43:36 +02:00
|
|
|
llm-agents.opencode2-desktop
|
2026-05-02 09:08:40 +02:00
|
|
|
openshell
|
2026-08-31 11:44:22 +02:00
|
|
|
llm-agents.openspec
|
2026-06-15 07:39:27 +02:00
|
|
|
openwork
|
2026-07-02 20:24:21 +02:00
|
|
|
talk
|
2026-10-29 08:16:53 +01:00
|
|
|
llm-agents.t3code
|
|
|
|
|
llm-agents.t3code-desktop
|
2026-05-02 09:08:40 +02:00
|
|
|
];
|
|
|
|
|
}
|