- Install Nix
xcode-select --install
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
- Clone this repo to
~/dotfiles
or similar.
git clone [email protected]://github.com/ratbag98/dotfiles.git
chmod +x apps/aarch64-darwin/apply
chmod +x apps/aarch64-darwin/build
chmod +x apps/aarch64-darwin/build-switch
chmod +x apps/aarch64-darwin/rollback
-
Backup and remove any existing
~/.config
. -
Build the setup.
nix run .#build
- Assuming no errors, run the setup:
nix run .#build-switch
- Open a new terminal and enjoy.