To get started on a bare macOS installation, first install Nix:
macOS
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install