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:
+15
-5
@@ -44,9 +44,19 @@
|
||||
# "fetchNpmDeps: fetcher version must be one of: 1, 2." because llm-agents'
|
||||
# pinned fetchNpmDeps only allows 1 and 2. Real packages never have a
|
||||
# __functor, so this filter drops such traps generically.
|
||||
mkLlmAgentsOverlay = system: _final: _prev:
|
||||
inputs.nixpkgs.lib.filterAttrs (
|
||||
_: v: inputs.nixpkgs.lib.isDerivation v && !v ? __functor
|
||||
)
|
||||
(inputs.llm-agents.packages.${system} or {});
|
||||
#
|
||||
# The same filtered set is also exposed under `pkgs.llm-agents` so m3ta-home
|
||||
# modules written against numtide's `overlays.shared-nixpkgs` namespace
|
||||
# (profiles/sets/coding/agents/*, modules/nixos/t3code.nix) and
|
||||
# m3ta-home's t3code-agent-identity overlay (which extends
|
||||
# `prev.llm-agents`) work here unchanged. Both views point at the SAME
|
||||
# derivations (numtide's own nixpkgs pin, served by cache.numtide.com).
|
||||
mkLlmAgentsOverlay = system: _final: _prev: let
|
||||
packages =
|
||||
inputs.nixpkgs.lib.filterAttrs (
|
||||
_: v: inputs.nixpkgs.lib.isDerivation v && !v ? __functor
|
||||
)
|
||||
(inputs.llm-agents.packages.${system} or {});
|
||||
in
|
||||
packages // {llm-agents = packages;};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user