feat: zentrales Wartungsmodus-Modul unter hosts/common (Expand, inaktiv)

Generalisiert das AZ-CLD-1-Wartungsmodus in ein shared Modul
hosts/common/extraServices/maintenance/ — Optionen global deklariert
(alle Hosts inkl. AZ-PLT-1), Konfiguration komplett hinter mkIf enable,
auf keinem Host aktiviert (Expand-Phase, CLD-1-Bestand unberührt).

- Optionen: m3ta.maintenance.services (selbstanmeldende Registry,
  attrsOf submodule), notify {url,topic}, tls (attrsOf str|listOf str,
  Default certResolver=ionos, byte-kompatibel ins Router-YAML),
  contact, extraMap; extraServices.maintenance.enable (mkEnableOption)
- CLI: Usage-Header mit echtem Hostnamen, neu status --json
  (stabiles Format v1), Registry als generiertes TSV
- www: service-map.js Build-Zeit-generiert aus Registry+extraMap,
  Kontaktzeile aus Option, index.html gemeinsam gepflegt
- Traefik-Verdrahtung wie Bestand (Service, error-pages 502-504,
  Directory-Provider watch=true, 00-base.toml per preStart)
- Assertion bei Aktivierung ohne services.traefik.enable
This commit is contained in:
2026-10-03 14:57:50 +02:00
parent 9f61d74fd4
commit 74ffab146e
4 changed files with 1099 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
{
imports = [
./flatpak.nix
./maintenance
./ollama.nix
./podman.nix
./virtualisation.nix