Install dependencies
xcode-select --install
softwareupdate --install-rosetta
Install nix from Determinate Systems
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
First-time installations require you to move the current /etc/nix/nix.conf out of the way.
[ -f /etc/nix/nix.conf ] && sudo mv /etc/nix/nix.conf /etc/nix/nix.conf.before-nix-darwin
Configure your system!
nix --extra-experimental-features 'nix-command flakes' run .#build-switch
Generate ssh key for github and add it.
nix run .#create-keys
gh auth login
Its probably possible to automate these steps but I've not had time to research how.
- Remove mission control control arrow bindings. Settings -> Keyboard -> shortcuts -> Mission Control -> All ^ shortcuts.
Once bootstrapped, you can drop the --extra-experimental-features 'nix-command flakes'
nix run .#build-switch
https://github.com/dustinlyons/nixos-config#installing
https://search.nixos.org/packages
https://daiderd.com/nix-darwin/manual/index.html https://medium.com/@zmre/nix-darwin-quick-tip-activate-your-preferences-f69942a93236
/run/current-system/sw/bin/brew list
- raycast setup
- stats