This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. Recommended to install NIX determinate manually by going here: https://determinate.systems/nix/macos/overview | |
| # 2. When the script opens 1Password site, download and install it and sign in | |
| # 3. After signing in enable SSH Agent by going to Settings | Developer | |
| # 4. Eventually, you'll be asked to install developer tools - you should do it now: $ xcode-select --install | |
| # 5. After install restart for some settings to apply | |
| curl -L https://gist.github.com/tsgautier/7ff22ab87c09ffde31bafba6be188623/raw/bootstrap.sh | bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| # --- 1. PRE-FLIGHT: Apple Developer Tools --- | |
| if ! xcode-select -p &>/dev/null; then | |
| echo "Apple Command Line Tools not found. Starting installation..." | |
| xcode-select --install | |
| echo "--------------------------------------------------------" | |
| echo "A macOS dialog has appeared. Please click 'Install'." | |
| echo "Wait for the installation to finish, THEN press ENTER here." |