What works for me will not work for you. How to get up and running:
xcode-select --install && softwareupdate --install-rosetta
sudo scutil --set HostName turbochardo && sudo scutil --set LocalHostName turbochardo && sudo scutil --set ComputerName turbochardo
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
nix run nix-darwin -- switch --flake github:shardulbee/dotfiles