add nextdns

This commit is contained in:
The Ghost of FOSS' Past 2024-10-31 16:09:42 -05:00
parent b7f4414f5a
commit c407ae4d8e
3 changed files with 17 additions and 0 deletions

View file

@ -24,6 +24,8 @@ brew install mas node python3 potrace telnet imagemagick wget golang gradle c204
brew install ffmpeg yt-dlp
brew install --cask ollama darktable arc vscodium vlc protonvpn upscayl android-platform-tools libreoffice krita
brew install --cask inkscape
brew tap localsend/localsend
brew install localsend
brew install --cask nvidia-geforce-now roblox
brew install git-credential-manager
brew tap macos-fuse-t/homebrew-cask

View file

@ -93,3 +93,18 @@ else
echo "0 0 * * 0 /sbin/shutdown -r now" | sudo crontab -
echo "Crontab entry added successfully."
fi
# Add auto-ttl...
echo "[DSMOSS] Add auto-ttl..."
sudo crontab -l | grep "0 0 * * 0 sudo sysctl -w net.inet.ip.ttl=65" > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "Crontab entry already exists."
else
# Add the entry to the crontab
echo "0 0 * * 0 sudo sysctl -w net.inet.ip.ttl=65" | sudo crontab -
echo "Crontab entry added successfully."
fi
# NextDNS
echo "[DSMOSS] Add NextDNS..."
open "/System/Library/PreferencePanes/Profiles.prefPane" "nxt.mobileconfig"

BIN
nxt.mobileconfig Normal file

Binary file not shown.