Personal dotfile setup for Apple Silicon Macbooks - opinionated and not guaranteed to work correctly.
Before running the installer, partially disable SIP:
- Shut down, hold power button until "Loading startup options" appears
- Options > Utilities > Terminal
- Run:
csrutil enable --without fs --without debug --without nvram - Reboot
- Run:
sudo nvram boot-args=-arm64e_preview_abi - Reboot again
Verify with csrutil status - should show NVRAM Protections: disabled.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Aerdayne/dotfiles/master/bootstrap.sh)"This installs Xcode CLT (if needed), clones the repo, and runs ./install.
First run will prompt for Accessibility permissions for yabai and skhd - grant them in System Settings > Privacy & Security.
The yabai sudoers entry contains a sha256 hash of the binary. After brew upgrade yabai, re-run:
./configs/yabai/setup-yabai-sudoers.sh
yabai --restart-serviceLaunch each app installed via Brew and other means. MacOS will prompt for permissions and provide instructions where necessary.
code --list-extensions # dump VSCode extensions
csrutil status # check SIP status
brew bundle dump # dump Brewfile
brew bundle --file ./configs/brew/Brewfile # install from Brewfile