- Install MacOS command line tools
xcode-select --install
- Install determinate nix:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate
- Apply flake
nix run nix-darwin -- switch --refresh --flake github:sonntag/nix#<hostname>