softwareupdate --install-rosetta --agree-to-license
xcode-select --install && cd && git clone https://github.com/philingood/nix-config.gitNote
First installation
nix run nix-darwin -- --flake github:philingood/nix-config#darwinConfigurations.$(hostname -s).systemnix --extra-experimental-features "nix-command flakes" build .#darwinConfigurations.$(hostname -s).system./result/sw/bin/darwin-rebuild switch --flake .#$(hostname -s)sudo xcodebuild -license accept
nix-index