feat(prm-1): add T3 Code server and agent-lib skill sync

- Run T3 Code as a systemd service on AZ-PRM-1, reachable on the NetBird interface (port 3773), with its token in the agenix secret t3code-env
- Install claude-code, opencode, agent-lib and t3code in the sascha.koenig home profile on PRM-1
- Add an hourly agent-lib-sync timer that pulls skills and agents from agent-prod and links skills into ~/.claude/skills
- Add the numtide llm-agents binary cache to nix settings so the agent packages are not built locally
- Add a compat option shim for programs.nushell.loadSessionVariables until home-manager is upgraded to 26.11
- Update flake.lock inputs
- Remove the manual wartungsmodus rollout guide from docs/deploy
This commit is contained in:
2026-11-09 07:51:33 +01:00
parent 912e7617c1
commit cddb3c33d8
11 changed files with 208 additions and 262 deletions
+21
View File
@@ -0,0 +1,21 @@
# Home-Manager-Overrides fuer sascha.koenig auf AZ-PRM-1.
# Wird automatisch von hosts/common/users/sascha.koenig.nix eingebunden.
#
# T3 Code (hosts/AZ-PRM-1/services/t3code.nix) startet die Harnesses aus
# /etc/profiles/per-user/<user>, deshalb liegen sie hier im User-Profil.
{pkgs, ...}: {
home.packages = with pkgs; [
agent-lib
claude-code
opencode
# Gleiches Paket wie der Dienst: fuer `t3 pair` & Co. gegen ~/.t3.
t3code
];
# Gleiche Quelle wie der Timer agent-lib-sync, damit ein manuelles
# `agent-lib sync` / `agent-lib status` ohne --repo funktioniert.
xdg.configFile."agent-lib/config.json".text = builtins.toJSON {
repo_url = "https://code.m3ta.dev/m3tam3re/agent-prod.git";
ref = "master";
};
}