- Xcode Command Line Tools
xcode-select --install- Nix
curl --proto '=https' --tlsv1.2 -sSfL https://nixos.org/nix/install | sh -s -- --daemonClone the repo into a dir called dotfiles:
git clone https://github.com/Yahddyyp/MacOS-Dotfiles.git ~/dotfilesNote
git username/email are hardcoded in nix/modules/git.nix (edit them there).
Set up /etc/nix-darwin:
sudo ln -s "$HOME/dotfiles/nix" /etc/nix-darwinApply the configuration First build only:
nix run nix-darwin -- switch --flake /etc/nix-darwin#$(whoami) --impureEvery build after that is the same:
sudo darwin-rebuild switch --flake /etc/nix-darwin#$(whoami) --impureAfter installation, run these:
-
Tmux plugins — Open tmux and press prefix + I (Ctrl+A, then I)
-
Spicetify — Open Spotify once, then run
spicetify apply -
Disable SIP for yabai (Apple Silicon only):
-
Reboot into recovery mode (hold power button while restarting)
-
Open terminal and run:
csrutil enable --without fs --without debug --without nvram -
Enable non-Apple-signed arm64e binaries, then reboot:
sudo nvram boot-args=-arm64e_preview_abi
-
-
Load the scripting addon:
sudo yabai --load-sa
-
Start services:
source ~/.zshrc start-yabai
-
Authenticate gh (git uses it as the credential helper):
gh auth login
-
Restore your GPG key and pass store:
gpg --import <secret-key.asc> gpg --quick-set-ownertrust <KEYID> ultimate
- https://github.com/gloceansh/dotfiles
- https://github.com/typecraft-dev/dotfiles
- https://github.com/catppuccin
- https://github.com/omerxx/dotfiles
Made with 💜 by Yahddyyp

