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
+14
View File
@@ -12,12 +12,25 @@
# 3. Create hosts/<hostname>/home.nix if the host needs overrides (monitors, etc.)
{
config,
lib,
pkgs,
inputs,
...
}: let
hostname = config.networking.hostName;
# m3ta-home (ab 2026-11-03) setzt programs.nushell.loadSessionVariables,
# eine Option, die erst in home-manager 26.11 existiert. Wir fahren noch
# release-26.05, deshalb wird die Option hier deklariert und ignoriert.
# Entfernen, sobald home-manager auf release-26.11 gehoben ist.
nushellCompatShim = {
options.programs.nushell.loadSessionVariables = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Compat-Shim fuer home-manager < 26.11; ohne Wirkung.";
};
};
# ── Per-host profile mapping ──
# Determines which m3ta-home context and sets each host gets.
hostProfiles = {
@@ -113,6 +126,7 @@ in {
})
# Per-host feature flags
hostFlags
nushellCompatShim
]
# Per-host home.nix (Hyprland monitors, XDG/MIME, HW-specific overrides)
++ (