fix: macOS

This commit is contained in:
Ryan Yin
2023-07-17 11:09:06 +08:00
parent b3ac7784ca
commit 0f08976902
4 changed files with 11 additions and 7 deletions

View File

@@ -12,8 +12,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 clash
# HTTP_PROXY = "http://127.0.0.1:7890"
HTTP_PROXY = "http://192.168.5.201:7890"
HTTP_PROXY = "http://127.0.0.1:7890"
pl = plistlib.loads(NIX_DAEMON_PLIST.read_bytes())