1
0
mirror of https://github.com/tommytran732/macOS-Setup-Script synced 2024-11-09 12:21:33 -05:00

Compare commits

..

2 Commits

Author SHA1 Message Date
1d00ab35c3
Update chrony config 2024-09-05 09:34:48 -07:00
6431c0bb34
Remove obsolete commands 2024-09-05 09:34:41 -07:00
3 changed files with 6 additions and 9 deletions

View File

@ -13,17 +13,15 @@ done
echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
#Enable Safari debug menu # Install Brew
defaults write com.apple.Safari IncludeInternalDebugMenu 1
#Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/$(USERS)/.zprofile (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/$(USERS)/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"
echo "export HOMEBREW_NO_ANALYTICS=1" | sudo tee -a /etc/zshrc echo "export HOMEBREW_NO_ANALYTICS=1" | sudo tee -a /etc/zshrc
export HOMEBREW_NO_ANALYTICS=1 export HOMEBREW_NO_ANALYTICS=1
brew tap homebrew/autoupdate brew tap homebrew/autoupdate
brew tap homebrew/cask-versions
# Remember to add chrony config post install
brew install --cask android-platform-tools chronycontrol github gpg-suite-no-mail ivpn microsoft-edge orbstack powershell visual-studio-code brew install --cask android-platform-tools chronycontrol github gpg-suite-no-mail ivpn microsoft-edge orbstack powershell visual-studio-code
brew install gnu-sed brew install gnu-sed
echo 'PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"' | sudo tee -a /etc/zshrc echo 'PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"' | sudo tee -a /etc/zshrc

View File

@ -4,8 +4,10 @@ server time.cloudflare.com iburst nts
server ntppool1.time.nl iburst nts server ntppool1.time.nl iburst nts
server nts.netnod.se iburst nts server nts.netnod.se iburst nts
server ptbtime1.ptb.de iburst nts server ptbtime1.ptb.de iburst nts
server time.dfm.dk iburst nts
server time.cifelli.xyz iburst nts
minsources 2 minsources 3
authselectmode require authselectmode require
# EF # EF

View File

@ -13,9 +13,6 @@ done
echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
# Enable Safari debug menu
defaults write com.apple.Safari IncludeInternalDebugMenu 1
umask 022 umask 022
# Setup Edge Enterprise Policies # Setup Edge Enterprise Policies