Skip to content

Automated macOS setup, with automated tests

License

Notifications You must be signed in to change notification settings

khuedoan/macos-setup

Repository files navigation

Automated macOS workstation set up

Features

Usage

  • Change the hostname and username in ./flake.nix and ./hosts/*.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

About

Automated macOS setup, with automated tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •