softwareupdate --install-rosetta --agree-to-license
xcode-select --install
Note
First installation
nix run nix-darwin -- --flake github:philingood/nix-config#darwinConfigurations.HackerBook.system
nix --extra-experimental-features "nix-command flakes" build .#darwinConfigurations.HackerBook.system
./result/sw/bin/darwin-rebuild switch --flake .#HackerBook