Serve the LCARS Token TV dashboard persistently from Vega #266

Closed
opened 2026-10-06 08:39:30 +01:00 by nimmo · 5 comments
Owner

Run Token TV on always-on Vega rather than Electra. The user has logged Vega into Antigravity and selected the LCARS face with CODEX, Gemini and Opencode Go display names.

Scope:

  • Preserve the validated package and local provider adapters in the standalone token-tv.nix flake, imported by this repository.
  • Reuse Vega's native CLI logins and SOPS-backed OpenCode Go key; do not transfer credentials from Electra.
  • Declare a native boot-enabled service running as the primary user with persistent state and a mutable credential-free config.
  • Restrict dashboard access to the Nebula overlay; the physical clock receives outbound LAN uploads.
  • Fetch all three provider readings, check the served LCARS frame, and validate the Nix configuration.
  • Record a real deployment and a no-op follow-up before closure.

Acceptance:

  • Vega returns current readings from all three providers.
  • LCARS is selected and the dashboard is reachable over Nebula.
  • Service survives user logout and is enabled at boot.
  • Required validation and live deployment evidence are recorded.

Physical device setup is tracked separately under this milestone. No credentials or real usage snapshots belong in Git.

Integrated through #308 and nimmo/token-tv.nix#2 after current-head review and CI passed. Canary and no-op evidence are recorded in the MR. Follow-up package/configuration changes remain unactivated; Vega's rollout hold was not released. Hardware/recovery work remains under #267.

Run Token TV on always-on Vega rather than Electra. The user has logged Vega into Antigravity and selected the LCARS face with CODEX, Gemini and Opencode Go display names. Scope: - Preserve the validated package and local provider adapters in the standalone token-tv.nix flake, imported by this repository. - Reuse Vega's native CLI logins and SOPS-backed OpenCode Go key; do not transfer credentials from Electra. - Declare a native boot-enabled service running as the primary user with persistent state and a mutable credential-free config. - Restrict dashboard access to the Nebula overlay; the physical clock receives outbound LAN uploads. - Fetch all three provider readings, check the served LCARS frame, and validate the Nix configuration. - Record a real deployment and a no-op follow-up before closure. Acceptance: - [x] Vega returns current readings from all three providers. - [x] LCARS is selected and the dashboard is reachable over Nebula. - [x] Service survives user logout and is enabled at boot. - [x] Required validation and live deployment evidence are recorded. Physical device setup is tracked separately under this milestone. No credentials or real usage snapshots belong in Git. Integrated through https://git.nimmog.uk/nimmo/nixos-config/pulls/308 and https://git.nimmog.uk/nimmo/token-tv.nix/pulls/2 after current-head review and CI passed. Canary and no-op evidence are recorded in the MR. Follow-up package/configuration changes remain unactivated; Vega's rollout hold was not released. Hardware/recovery work remains under #267.
Author
Owner

Prepared commit 5920e46 on local feature branch feat/vega-token-tv-lcars (not published). The complete Token TV package passes 65 regression tests, nix flake check passes, and the exact native token-tv.service unit builds.

Vega's own Codex, Antigravity/Gemini and OpenCode Go connections all return current usage successfully. Its credential-free configuration now selects LCARS. A temporary user unit token-tv-preview serves the live dashboard on Vega loopback port 8787; the LCARS image endpoint was verified. This is a canary, not the boot-enabled deployment.

The permanent native service runs as nimmo, keeps state in /var/lib/token-tv, and listens at 10.10.0.2:8787 with the host firewall opened only on nebula.mesh. It does not depend on user lingering.

Deployment source is being placed at /home/nimmo/.local/share/token-tv/deployment-5920e46. Permanent activation is blocked by Vega requiring an interactive sudo password for nixos-rebuild. The full Vega build was stopped after it expanded into 1161 derivations including unrelated package updates; no full-system closure or activation is claimed. Native service-unit build and live package canary pass. Required genuine deployment/no-op follow-up and MR publication remain outstanding; keep this issue open.

Prepared commit 5920e46 on local feature branch feat/vega-token-tv-lcars (not published). The complete Token TV package passes 65 regression tests, nix flake check passes, and the exact native token-tv.service unit builds. Vega's own Codex, Antigravity/Gemini and OpenCode Go connections all return current usage successfully. Its credential-free configuration now selects LCARS. A temporary user unit token-tv-preview serves the live dashboard on Vega loopback port 8787; the LCARS image endpoint was verified. This is a canary, not the boot-enabled deployment. The permanent native service runs as nimmo, keeps state in /var/lib/token-tv, and listens at 10.10.0.2:8787 with the host firewall opened only on nebula.mesh. It does not depend on user lingering. Deployment source is being placed at /home/nimmo/.local/share/token-tv/deployment-5920e46. Permanent activation is blocked by Vega requiring an interactive sudo password for nixos-rebuild. The full Vega build was stopped after it expanded into 1161 derivations including unrelated package updates; no full-system closure or activation is claimed. Native service-unit build and live package canary pass. Required genuine deployment/no-op follow-up and MR publication remain outstanding; keep this issue open.
Author
Owner

The clean deployment checkout is now present on Vega at /home/nimmo/.local/share/token-tv/deployment-5920e46. A reviewed, bash-syntax-checked activation helper is at /home/nimmo/.local/share/token-tv/activate-5920e46.sh. It creates the required auto-update hold, uses just test, validates the native mesh dashboard and all three live providers, then runs persistent switch and an identical-source follow-up before stopping the temporary preview. It leaves the hold in place pending publication/integration so Vega's pull-only updater cannot undo the unpublished service. The helper has not been executed: the user's interactive sudo password is still required. The temporary preview remains active.

The clean deployment checkout is now present on Vega at /home/nimmo/.local/share/token-tv/deployment-5920e46. A reviewed, bash-syntax-checked activation helper is at /home/nimmo/.local/share/token-tv/activate-5920e46.sh. It creates the required auto-update hold, uses just test, validates the native mesh dashboard and all three live providers, then runs persistent switch and an identical-source follow-up before stopping the temporary preview. It leaves the hold in place pending publication/integration so Vega's pull-only updater cannot undo the unpublished service. The helper has not been executed: the user's interactive sudo password is still required. The temporary preview remains active.
Author
Owner

User clarified that Token TV should remain stopped until the physical display arrives. Stopped Vega's temporary token-tv-preview.service and confirmed it is inactive. Added a native ExecCondition that cleanly skips startup when device_url is absent; verified both missing-address skip and configured-address allow paths. nix flake check and the updated native service-unit build pass. The activation helper now exits before any privileged/deployment work when no clock address is configured. No activation is needed while waiting for hardware, and no auto-update hold has been created. Updating the prepared Vega checkout with this change; branch remains unpublished.

User clarified that Token TV should remain stopped until the physical display arrives. Stopped Vega's temporary token-tv-preview.service and confirmed it is inactive. Added a native ExecCondition that cleanly skips startup when device_url is absent; verified both missing-address skip and configured-address allow paths. nix flake check and the updated native service-unit build pass. The activation helper now exits before any privileged/deployment work when no clock address is configured. No activation is needed while waiting for hardware, and no auto-update hold has been created. Updating the prepared Vega checkout with this change; branch remains unpublished.
Author
Owner

The feature branch now includes the approved continuous LCARS gauges and tested SmallTV-Ultra stock-firmware support. All 69 package tests, nix flake check, and the complete target-system build pass. The user confirmed the physical clock display looks right.

Permanent activation and its no-op follow-up are still pending; no boot/logout persistence acceptance or integration is claimed.

The feature branch now includes the approved continuous LCARS gauges and tested SmallTV-Ultra stock-firmware support. All 69 package tests, nix flake check, and the complete target-system build pass. The user confirmed the physical clock display looks right. Permanent activation and its no-op follow-up are still pending; no boot/logout persistence acceptance or integration is claimed.
Author
Owner

The user reports the prepared activation helper completed successfully, including its no-op follow-up assertion. Follow-up verification confirms the permanent service is enabled and running, all three providers return current readings, and the delivered LCARS image matches the rendered frame exactly. The temporary bootstrap is stopped and the original album backup is retained.

No reboot test was performed. Branch integration and release of the rollout hold remain outstanding; keep this issue open.

The user reports the prepared activation helper completed successfully, including its no-op follow-up assertion. Follow-up verification confirms the permanent service is enabled and running, all three providers return current readings, and the delivered LCARS image matches the rendered frame exactly. The temporary bootstrap is stopped and the original album backup is retained. No reboot test was performed. Branch integration and release of the rollout hold remain outstanding; keep this issue open.
nimmo closed this issue 2026-10-10 19:37:27 +01:00
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#266
No description provided.