feat(prm-1): align agent userspace of sascha.koenig with AZ-LT-NIX

- Import the m3ta-home agent modules (mcp, claude-code, opencode,
  ai-memory, claude-skills) in hosts/AZ-PRM-1/home.nix instead of the
  hand-rolled claude-code/opencode packages; Claude Code and OpenCode get
  the shared MCP catalogue, ai-memory hooks/MCP/skills, LiteLLM/Z.AI
  providers and the m3ta-chiron git identity
- Expose the flattened llm-agents packages additionally as pkgs.llm-agents
  so m3ta-home modules and the t3code-agent-identity overlay work here
- Apply m3ta-home's t3code-agent-identity overlay (T3 agents commit as
  m3ta-chiron), t3code service uses the wrapped module default package
- agent-lib-sync timer calls claude-skills-sync from the user profile
  instead of duplicating the link logic
- Secrets for AZ-PRM-1 (same values as AZ-LT-NIX): ai-memory-token,
  agent-gitea-token-{m3ta,az}; exa-key/ref-key now owned by sascha.koenig
- flake.lock: m3ta-home -> f4ab2ab (Claude MCP integration, PR #9)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-11-10 20:16:23 +01:00
co-authored by Claude Fable 5.1
parent cddb3c33d8
commit 7385db3b09
10 changed files with 136 additions and 69 deletions
+23
View File
@@ -99,6 +99,29 @@ in {
owner = "sascha.koenig";
mode = "0400";
};
# Agent-Userspace von sascha.koenig (hosts/AZ-PRM-1/home.nix), gleiche
# Secrets wie auf AZ-LT-NIX: MCP-Keys (Exa, Ref), ai-memory-Token und
# die Gitea-Tokens der m3ta-chiron-Accounts fuer die T3-Agent-Identitaet.
exa-key = {
file = ../../secrets/exa-key.age;
owner = "sascha.koenig";
};
ref-key = {
file = ../../secrets/ref-key.age;
owner = "sascha.koenig";
};
ai-memory-token = {
file = ../../secrets/ai-memory-token.age;
owner = "sascha.koenig";
};
agent-gitea-token-m3ta = {
file = ../../secrets/agent-gitea-token-m3ta.age;
owner = "sascha.koenig";
};
agent-gitea-token-az = {
file = ../../secrets/agent-gitea-token-az.age;
owner = "sascha.koenig";
};
}
// lib.optionalAttrs (builtins.pathExists ntfyGrafanaWebhookSecret) {
ntfy-grafana-webhook = {