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
- Clone this repo to
~/dotfiles - Run
nix run nix-darwin -- switch --flake ~/dotfiles
- Setup Dropbox
- Import GPG Key with
gpg --import Secret.asc - Import uBlock setting via the import features in browser
- Import TablePlus Connections
- Import Timemator History from
~/Application Support/com.catforce.timemator.macos
softwareupdate -ia
./cleanup.sh
Generate new keyfile: ssh-keygen -t ed25519 -C "niklasravnsborg@gmail.com"
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