Deploy and validate dual-stack Nebula on vega #297
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:cosmos
host:electra
host:fleet
host:lena
host:lyra
host:mass-storage
host:media1
host:nimmog-de
host:nova
host:pangolin
host:pangolin-vps
host:phone
host:router
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nix-idioms-hygiene
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:gitlab
service:hermes
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
service:tdarr
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#297
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Host deployment/validation phase of Dual-stack Nebula Mesh & Router Exit, following shared wiring #293.
Existing IPv4 certificate address: 10.10.0.2. Keep it while adding the agreed private IPv6 mesh address.
Registered NixOS server and mesh DNS node. The phone now exits through the router; Vega's older live configuration awaits its normal auto-update cutover. The user requires retirement of its internet exit role, including fallback use. Source disables exitNode; the newly signed dual-address certificate has no unsafe route authority. Deploy through the normal pull-only auto-update once merged to main; retain ordinary mesh and DNS services. Preserve CoreDNS/phone mesh service access.
Checklist:
Do not infer live acceptance from shared-source completion. Do not disrupt existing services or remove the VPS bootstrap during rollout.
Certificate rotation policy (user decision, 2026-10-10): retain current long-lived CA/certificate validity and do not require blanket blocklisting of uncompromised superseded credentials. Mandatory post-rollout Vega fingerprint revocation checklist from review of MR #307: superseded. Vega's old exit certificate may remain CA-valid until expiry; keep Vega's internet forwarding/exit role disabled and absent from phone routing. Blocking that fingerprint remains optional hardening, not an acceptance gate. Targeted revocation still applies to compromised credentials and explicitly retired Chaos/Cosmos identities.
Vega exitNode.enable is now false in source; CoreDNS and ordinary mesh remain enabled. Old mobile-full-tunnel (Vega) bundle mode is removed. Router is the only supported phone internet exit. Full nix flake check and shell/provisioning/bundle regressions pass. Existing upstream stdenv platform deprecation warnings reviewed; no option/evaluation failure.
Live Vega activation still requires operator authentication: root SSH is denied and nimmo's unattended sudo nixos-rebuild does not succeed. Do not mark the existing Vega service retired until the prepared configuration is activated and its unsafe-route allowance/Nebula NAT role is checked. Preserve auto-update hold until the change is published and live validation is complete.
Prepared an isolated source snapshot on Vega at /home/nimmo/nixos-config-nebula-cutover-e7af20a using git archive of local commit
e7af20a. It excludes ignored plaintext deployment bundles. Full Vega system build succeeded through the configured Nova builder and is copied back to Vega:/nix/store/h7qfhclg11dwx6fb7ccl58xjcrc4zfsq-nixos-system-vega-26.11.20261007.39ad350
Operator activation steps in that directory: just auto-update-hold "retire Vega Nebula exit"; just test; sudo nixos-rebuild switch --flake .#vega. Leave the hold active until source publication and acceptance; original main checkout still enables the old exit. Root/sudo operator authentication remains required. No live retirement evidence yet.
Deployment plan corrected per user instruction: use Vega's normal pull-only NixOS auto-update once the prepared changes are published and merged to main. A manual root shell/activation is not required for this path. Read-only checks confirm the updater timer is active and /run/nixos-auto-update has no hold file. Source already disables Vega's exit role; shared wiring is locally committed and validated. Keep this issue open for genuine post-update checks of the active revision, removal of exit forwarding/NAT, mesh/DNS availability, and subsequent dual-address rollout. This supersedes the earlier request for authenticated manual activation.
Preparing Vega certificate retirement before auto-update rollout: its current v2 certificate still authorizes 0.0.0.0/1 and 128.0.0.0/1, and ordinary nebula-reissue intentionally preserves routes. Added explicit
noneunsafe-networks argument to clear authority while retaining the empty-argument preserve behavior. External provisioning regressions cover preserve/clear/replace; both provisioning and actual Nebula bundle regressions plus ShellCheck pass. Next operator signing command:just nebula-reissue vega 2 none '10.10.0.2/16,fd56:f458:569c::2/64'. This rotates the key without activation; afterwards verify certificate has no unsafeNetworks, prepare router discovery, and use normal main/auto-update deployment as agreed.User completed reissue. nebula-cert verify against repository CA passes; new v2 certificate contains 10.10.0.2/16 and fd56:f458:569c::2/64, unsafeNetworks=null (no internet exit authority). Added Vega router-underlay bootstrap opt-in. Evaluated configuration confirms [::] listener, lighthouses/relays [10.10.0.1,10.10.0.10], exitNode=false, resolver=true. Full nix flake check passes; complete host build is running. Live mesh/CoreDNS/updater remain active with no hold. Pre-rotation certificate/encrypted key retained at local annotated tag pre-vega-nebula-dual-stack. Do not publish Vega AAAA until live dual-address activation is confirmed. Live retirement, router registration, relay, persistence/no-op evidence remain open for normal auto-update deployment.
Complete prepared Vega host build passed: /nix/store/arcmn8wjaj60l76qbp2rdwx8r1pjf54r-nixos-system-vega-26.11.20261007.39ad350. Source/certificate changes committed locally as
a55fa06, with no activation or publication. Full flake checks also pass. Live evidence remains pending normal main/auto-update rollout.Live Deployment & Multi-Day Persistence Evidence
Live validation completed on Vega:
nixos-system-vega-26.11.20261008.8edc0c7.nebula.meshactive with10.10.0.2/16andfd56:f458:569c::2/64.unsafeNetworks=null.nixosConfig.nebula.exitNode.enable = false.10.10.0.2andfd56:f458:569c::2pass 100% (0% loss) from Electra.vega/vega.mesh) active.10.10.0.10) and VPS (10.10.0.1), receiving relayed handshakes from Electra.All acceptance criteria met; closing.