mitamae-based dotfiles for macOS (darwin) and Amazon Linux 2023 (amazon).
mitamae: https://github.com/itamae-kitchen/mitamae
sudogit,curl,jq- The mitamae binary is downloaded automatically by
bin/mitamaeon first run.
# create a host node file from the sample
cp nodes/sample-hostname.rb nodes/$(hostname).rb
# edit it (plugins / cookbooks to enable, brew packages, anyenv envs, ...)
vim nodes/$(hostname).rb
# dry-run (preview changes; default)
sudo ./run.sh
# apply
sudo ./run.sh -x
sudo is required; the target user is taken from $SUDO_USER.
# git pull/push this repo and each plugins/* repo
./sync.sh
lib/bootstrap.rb— entry point: helper methods and the load sequencenodes/— attribute definitions only (per platform / per hostname)roles/— recipes that create resources (common,darwin,linux)cookbooks/— reusable units (dotfiles,homebrew,anyenv,tmux,docker,public-nginx)dotfiles/— files linked/generated under$HOMEplugins/— environment-specific config (git-ignored; managed as separate repos)
Per-environment configuration is separated into plugins/<name>/, enabled via the
node[:plugins] array in a host node file. plugins/* and host node files are git-ignored.
This repository is public — keep any customer/company-specific configuration in a separate private repository.
See CLAUDE.md for architecture details.