1
0
mirror of https://github.com/tommytran732/macOS-Setup-Script synced 2024-11-21 17:31:34 -05:00

Compare commits

...

7 Commits

Author SHA1 Message Date
4a84b8379d
Update development.sh
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-03 04:51:04 -07:00
4436d3e622
Update development.sh
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-03 04:50:44 -07:00
df5c28d754
Rename development to development.sh
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-03 04:50:23 -07:00
ac6f8904e0
Create chrony.conf
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-03 04:50:06 -07:00
a5c5ea544f
Create development
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-03 04:49:00 -07:00
47b652e3bb
Rename firstboot.sh to umask.sh
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-03 04:44:19 -07:00
ad8d3b0d37
Update administrator.sh
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-03 04:43:40 -07:00
4 changed files with 52 additions and 4 deletions

View File

@ -9,7 +9,3 @@ sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
#Enable Safari debug menu
defaults write com.apple.Safari IncludeInternalDebugMenu 1
# Hide the administrator user
sudo dscl . create /Users/administrator IsHidden 1
sudo chflags hidden /Users/administrator

16
development.sh Normal file
View File

@ -0,0 +1,16 @@
#!/bin/zsh
#Comment this line out if you don't have Touch ID
awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo
# Verify SSH Fingerprints
echo "VerifyHostKeyDNS yes" | sudo tee /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
#Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install --cask android-platform-tools chronycontrol github gpg-suite-no-mail microsoft-edge mullvadvpn orbstack visual-studio-code

36
etc/chrony.d/chrony.conf Normal file
View File

@ -0,0 +1,36 @@
#
# chronyd configuration file
#
# Documentation at: https://chrony-project.org/manual.html#Configuration-file
#
#
user daemon
server time.cloudflare.com iburst nts
server ntppool1.time.nl iburst nts
server nts.netnod.se iburst nts
server ptbtime1.ptb.de iburst nts
minsources 2
authselectmode require
# EF
dscp 46
driftfile /var/db/chrony/chrony.drift
bindcmdaddress /var/run/chrony/chronyd.sock
log tracking measurements statistics
logdir /var/log/chrony
# Specify directory for dumping measurements.
ntsdumpdir /var/db/chrony/
leapsectz right/UTC
makestep 1.0 3
rtconutc
rtcsync