This is my personal dotfiles repository. It is managed with Nix and Nix-darwin. I use these dotfiles on macOS and on NixOS. But this guide is only for macOS.
- Install Nix
- Install Homebrew
- Clone this repo to
~/dotfiles
- Run
nix run nix-darwin -- switch --flake ~/dotfiles
- Import uBlock setting via the import features in browser
softwareupdate -ia
./cleanup.sh
Generate new keyfile: ssh-keygen -t ed25519 -C "[email protected]"
Change password: ssh-keygen -p -f ~/.ssh/id_ed25519
Add password to keychain: ssh-add --apple-use-keychain ~/.ssh/id_ed25519
- Deactivate NextDNS:
nextdns deactivate
- Connect to network
- Clear DNS cache:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
- Reactivate NextDNS:
nextdns activate