Repository navigation
darwin: share declarative Tailscale setup with the MacBook Air - #37
Open
alexmalison wants to merge 2 commits into
Open
alexmalison wants to merge 2 commits into
alexmalison wants to merge 2 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The MacBook Air currently relies on Tailscale.app, while the Mac Mini has a Nix-managed system daemon. Extract the Darwin Tailscale setup into a shared module and enable it for both hosts, reconciling DNS acceptance, hostname, and operator access.
The Mini keeps its existing agenix enrollment key. The Air enrolls automatically with its own reusable Tailscale auth key, encrypted only to the Air SSH host key. Agenix decrypts it with the system host identity into a root-only file; the daemon receives the file path rather than a plaintext key in its arguments. The key expires January 7, 2027 and must be rotated for enrollment or reauthentication after that date.
Document the app-to-daemon migration, CLI-only client limitations, and automatic enrollment. Refuse activation while Tailscale.app remains installed to avoid overlapping VPN clients.
Validation:
git diff --checkpassed.Not activated on the Air: migration disconnects its current VPN and requires removing Tailscale.app and rebooting. Enrollment then runs automatically after
just switch. Seenix-darwin/README.md.Separate local Paseo secret edits remain outside this PR.