# AI agent system — OpenCode, Claude Code, ai-memory and MCP server configuration. # Relies on coding.agents options provided by home/common/default.nix # (m3taHomeInputs.m3ta-nixpkgs.homeManagerModules.default). { lib, m3taHomeInputs, 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 = lib.mkDefault "/home/m3tam3re/.ssh/gitea"; }; imports = [ # ai-memory client, skill mirror, shared MCP catalogue, OpenCode and # Claude Code config ./ai-memory.nix ./claude-skills.nix ./mcp.nix ./opencode.nix ./claude-code.nix # headless agent CLIs (beads, agent-lib) ./cli.nix ]; # 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. home.packages = with pkgs; [ agenix-cli llm-agents.agent-browser llm-agents.claude-desktop crunch docker-sbx llm-agents.herdr (llm-agents.qmd.override { vulkanSupport = videoDrivers == ["amdgpu"]; cudaSupport = videoDrivers == ["nvidia"]; }) llm-agents.officecli llm-agents.opencode2-desktop openshell llm-agents.openspec openwork talk llm-agents.t3code llm-agents.t3code-desktop ]; }