My personal dotfiles
- Install xcode:
xcode-select --install
- Install rosetta:
softwareupdate --install-rosetta
- Install nix determinate
- Install nix-darwin
- None
- Use
nix-shell -p git
to clone the repo:git clone --recurse-submodules git@github.com:IdoKendo/dotfiles.git ~/.dotfiles
- Use
nix-shell -p stow
to extract the files:cd ~/.dotfiles && for dir in */; do stow "$dir"; done
- Activate the nix flake:
cd ~/.config/nix-darwin && darwin-rebuild switch --flake .
- Activate home-manager:
cd ~/.config/nix-darwin && home-manager switch --flake . -b backup