From 940367c7904fbff65cf47bdf3eaf041f4ace40ab Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Mon, 12 Aug 2024 15:17:38 +0800 Subject: [PATCH] chore: update scripts --- scripts/darwin_set_proxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/darwin_set_proxy.py b/scripts/darwin_set_proxy.py index 806738ec..0006ca3b 100644 --- a/scripts/darwin_set_proxy.py +++ b/scripts/darwin_set_proxy.py @@ -15,7 +15,7 @@ from pathlib import Path NIX_DAEMON_PLIST = Path("/Library/LaunchDaemons/org.nixos.nix-daemon.plist") NIX_DAEMON_NAME = "org.nixos.nix-daemon" # http proxy provided by my homelab's bypass router -HTTP_PROXY = "http://192.168.5.179:7890" +HTTP_PROXY = "http://192.168.5.101:7890" PLIST = plistlib.loads(NIX_DAEMON_PLIST.read_bytes()) @@ -55,5 +55,5 @@ def unset_proxy(): if __name__ == "__main__": - # set_proxy() - unset_proxy() + set_proxy() + # unset_proxy()