Skip to content

Adopt chezmoi for dotfiles delivery; retain mise for post-apply verification#12

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/adopt-chezmoi-for-dotfiles
Draft

Adopt chezmoi for dotfiles delivery; retain mise for post-apply verification#12
Copilot wants to merge 3 commits intomainfrom
copilot/adopt-chezmoi-for-dotfiles

Conversation

Copy link
Copy Markdown

Copilot AI commented May 1, 2026

The repo lacked a structured, idempotent delivery mechanism across macOS, Linux, and container environments. This adopts chezmoi as the primary dotfiles manager while keeping mise as a post-apply verifier.

Structural change

  • Rename .config/dot_config/ — aligns with chezmoi's source naming convention so dot_config/nvim/init.vim deploys to ~/.config/nvim/init.vim

New files

  • .chezmoi.toml.tmpl — config template; reads GIT_AUTHOR_NAME/GIT_AUTHOR_EMAIL env vars, gracefully falls back to empty strings for CI dry-runs
  • run_once_after_verify.sh — chezmoi post-apply hook; runs mise doctor when available, skips silently otherwise
  • .github/workflows/dotfiles-ci.yml — smoke-test matrix across ubuntu-latest, macos-latest, debian:latest, alpine:latest; each job runs chezmoi apply --dry-run --no-tty --verbose

Updated files

  • script/bootstrap.sh — fixes template path (dot_config/nvim/), skips the dot_config directory in the dot_* glob, and adds a dedicated loop that symlinks each XDG config subdirectory individually (no folder-level symlinks)
  • README.md — chezmoi as recommended install path; legacy bootstrap preserved for backward compat; CI badge added

Usage

# Preview what would change (CI-safe, no prompts)
chezmoi init --apply --dry-run DustinVenegas/dotfiles

# Apply for real
chezmoi init --apply DustinVenegas/dotfiles

Copilot AI linked an issue May 1, 2026 that may be closed by this pull request
7 tasks
Copilot AI and others added 2 commits May 1, 2026 06:54
…onfig template, and README docs

Agent-Logs-Url: https://github.com/DustinVenegas/dotfiles/sessions/0ab35366-b8a1-4d0c-86a1-641aa6f6171b

Co-authored-by: DustinVenegas <282890+DustinVenegas@users.noreply.github.com>
Copilot AI changed the title [WIP] Adopt chezmoi for dotfiles management Adopt chezmoi for dotfiles delivery; retain mise for post-apply verification May 1, 2026
Copilot AI requested a review from DustinVenegas May 1, 2026 06:56
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.

Use chezmoi

2 participants