Skip to content

feat(personal): clone the homelab repository - #48

Merged
nettlesh merged 2 commits into
mainfrom
claude/homelab-repo
Oct 22, 2026
Merged

nettlesh merged 2 commits into
mainfrom
claude/homelab-repo

Conversation

@nettlesh

Copy link
Copy Markdown
Owner

Summary

  • Clone the private nettlesh/homelab repository to ~/homelab on machines with the personal environment, using mise's [bootstrap.repos]. work and restricted don't load it. Bootstrap clones it only when it's missing, and never moves or overwrites an existing checkout
  • Use HTTPS because bootstrap clones repositories before it deploys dotfiles, so the 1Password SSH agent configuration doesn't exist yet on a fresh machine. mise treats the HTTPS and SSH forms as the same repository, so switching the checkout's remote to SSH later is fine
  • README: on a personal machine, sign in to GitHub before bootstrapping
  • README: record gh's mise shim as Git's credential helper with GH_PATH. gh auth setup-git otherwise records one installed version's path (.../installs/gh/2.99.0/...), which breaks HTTPS authentication once that version is pruned

Testing

  • Using a throwaway config, mise bootstrap repos apply cloned the private, empty repository over HTTPS and repos status reported it as current
  • With an isolated copy of the config, repos status lists ~/homelab only with -E personal
  • Fresh-machine checks with an empty mise data and config directory: mise x gh creates the gh shim, and the shim resolves gh without a global config
  • Rewrote this Mac's ~/.gitconfig helper to the shim; git ls-remote against two private repositories succeeds with prompts disabled
  • hk check passes

🤖 Generated with Claude Code

nettlesh and others added 2 commits October 22, 2026 18:34
Clone nettlesh/homelab to ~/homelab on machines with the personal
environment. The clone uses HTTPS because repositories are cloned before
dotfiles deploy the 1Password SSH agent configuration, so it relies on
gh's Git credential helper, which the README now lists as a prerequisite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gh auth setup-git records the path of the gh binary that ran it, which
under mise is one installed version's directory, so pruning old versions
breaks HTTPS authentication. Setting GH_PATH to the mise shim keeps the
helper stable across gh updates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nettlesh
nettlesh merged commit f8e805a into main Oct 22, 2026
5 checks passed
@nettlesh
nettlesh deleted the claude/homelab-repo branch October 22, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant