macOS dotfiles managed by chezmoi, also applied inside Docker Sandboxes (sbx) boxes.
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply MrRTiInstalls chezmoi, clones this repo to ~/.local/share/chezmoi, and applies it: writes the dotfiles to ~, installs mise standalone to ~/.local/bin and runs mise install, then installs Homebrew and runs brew bundle.
Then run :TSInstallParsers in Neovim once.
chezmoi diff # Preview changes
chezmoi apply # Apply source to ~
chezmoi add <file> # Start managing a file
just lint # shellcheck, stylua, fish syntax, markdownlint
just brew-dump # Write installed Homebrew state into the Brewfile
just update # brew upgrade + mise self-update + bump every mise pin + refresh the Brewfile
just home-check # List unexpected dotfiles in ~
just git-dev-folders "personal:a@x.com;work:b@y.com" # Per-folder git email and signing key under ~/Developer
just sbx-template # Build the sbx box template from GitHub and load itLint tools are pinned in mise.toml.
dot_prefix: target starts with.private_prefix: restricted permissionsexecutable_prefix: executable bitrun_before_/run_after_/run_onchange_/run_once_prefix: lifecycle scripts.tmplsuffix: Go template.chezmoiignore: repo-only files, never deployed
Brewfile: bootstrap tools (chezmoi, fish, git), things mise can't build, macOS-only tools, casks, Mac App Store apps. A change re-runsbrew bundleon apply. Apply installs missing entries only (just updateupgrades) and uninstalls what isn't listed, so deleting a line removes the package. Runjust brew-dumpfirst if you installed something by hand. It stays in the repo; nothing deploys it to~.dot_config/mise/: CLI and dev tool versions, split by where they're needed:config.toml: CLIs used everywhere (host and boxes)conf.d/dev.toml: languages, language servers, linters, formattersconf.d/host.toml: host only (fnox/age secrets, backups, hledger, httpie, osxphotos, mlx-lm)conf.d/infra.toml: k8s, vault, tofu; host only for now
dot_config/mise/rails-tasks.toml: globalrails:*tasks (mise run rails:lint) for any Ruby repo.
- Fish only.
config.fish: PATH, environment, abbreviations.conf.d/00-xdg.fish: XDG base dirs and per-tool overrides, so caches and state stay out of~.conf.d/mise-activate.fish: activates mise (from~/.local/bin, beforeconfig.fishputs it on PATH). Per-project env vars go inmise.local.toml[env], secrets infnox.local.toml(run withfnox exec --).functions/: prompt and wrappers that must run in-shell (cd,source).dot_local/bin/: shell-agnostic scripts.
tmux-sessionizer: fzf picker, one tmux session per projectrex-sessionizer: the same picker for Rex sessions (popup onctrl+cmd+g; needs Rex Remote Control)git_worktree_*,git_clone_to_worktree: worktree layout (<repo>/main+ one directory per branch)tmux-popup: tool in a persistent tmux popupnotes-switcher: fzf note picker and creatordb-create,db-connect: databases in the local stack via usqlenc: password-based file encryption (OpenSSL)
dot_config/nvim/init.lua, lazy.nvim,lazy-lock.jsoncommitted- LSP: native
vim.lsp, server definitions from nvim-lspconfig - Formatting: conform.nvim. YAML formats on save only with a yamlfmt config in the project; JSON never.
<leader>lfformats anywhere. - Linting: nvim-lint
- Files: oil.nvim
- Nightfox (dark) / Dayfox (light), following macOS appearance
- Same hex values in Ghostty, Neovim, tmux
- Exceptions: lazygit uses ANSI color names; k9s uses a transparent skin
Developer/databases/: Postgres, MySQL, MongoDB, Redis in Docker- Credentials: 1Password
op://references infnox.toml, resolved byfnox exec
dot_claude/: global settings and status line script for~/.claude/
Some deployed files are edited by their app: the mise config and conf.d/*.toml (mise use -g, mise upgrade --bump); nvim/lazy-lock.json (:Lazy update); ~/.claude/settings.json (/config, plugin installs). They're plain copies, so pull the edits back with chezmoi re-add <file or dir>. just update does that for ~/.config/mise. chezmoi apply asks before overwriting a file changed since its last write; check chezmoi diff first.
chezmoi data in ~/.config/chezmoi/chezmoi.toml:
[data]
profile = "host" # default; "box" inside sbx
devTools = false # host only: stop deploying conf.d/dev.tomlTurning devTools off doesn't delete the deployed file: after apply, rm ~/.config/mise/conf.d/dev.toml && mise prune.
box skips the Brewfile, macOS apps' configs, Developer/, ~/.claude (sbx owns it), git signing (1Password), and the host-only mise files.
sbx/Dockerfile: Docker'sclaude-codesandbox image, apt packages mise can't provide, mise, thenchezmoi init --apply MrRTiwithprofile = "box", plugins and parsers prebuilt.just sbx-templatebuilds it from what's pushed to GitHub and loads it into sbx. Run a box withsbx run --pull never -t sbx-dotfiles:latest claude <dir>.- Agents run non-interactive bash, so tools come from mise shims on
PATH.