mirror of
https://github.com/tommytran732/macOS-Setup-Script
synced 2024-11-21 17:31:34 -05:00
Compare commits
7 Commits
a4e5f8c857
...
4a84b8379d
Author | SHA1 | Date | |
---|---|---|---|
4a84b8379d | |||
4436d3e622 | |||
df5c28d754 | |||
ac6f8904e0 | |||
a5c5ea544f | |||
47b652e3bb | |||
ad8d3b0d37 |
@ -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
16
development.sh
Normal 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
36
etc/chrony.d/chrony.conf
Normal 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
|
Loading…
Reference in New Issue
Block a user