macos-setup

Automated macOS setup (you'll probably need to fork it)

GPL-3.0 License

Stars
11

Automated macOS workstation set up

Features

Usage

  • Change the hostname and username in ./flake.nix and ./home/*.nix
  • Go to Settings -> Security & Privacy -> Privacy -> Full Disk Access and allow the Terminal app
git clone https://github.com/khuedoan/macos-setup macos-setup
cd macos-setup
make

Then reboot.

Testing

  1. Install UTM
  2. Download macOS IPSW recovery file
  3. Create a macOS VM in UTM using the downloaded IPSW file
  4. Run xcode-select --install in the new VM
  5. (Optional) Clone the VM to a new one for easy rollback (UTM doesn't support snapshot yet)
  6. Run the above commands

Acknowledgements