Falls back to use macos app for wireguard

This commit is contained in:
Yan Lin 2025-09-10 23:16:41 +02:00
parent 7725fb6846
commit 4c2faddfea
9 changed files with 0 additions and 34 deletions

View file

@ -9,20 +9,4 @@
imports = [ imports = [
../system-default.nix ../system-default.nix
]; ];
# WireGuard LaunchAgent for auto-start
launchd.user.agents.wireguard = {
serviceConfig = {
ProgramArguments = [
"/opt/homebrew/bin/wg-quick"
"up"
"/Users/yanlin/.config/nix/config/wireguard/imac.conf"
];
RunAtLoad = true;
KeepAlive = false;
Label = "com.wireguard.imac";
StandardErrorPath = "/tmp/wireguard.err";
StandardOutPath = "/tmp/wireguard.out";
};
};
} }

View file

@ -9,20 +9,4 @@
imports = [ imports = [
../system-default.nix ../system-default.nix
]; ];
# WireGuard LaunchAgent for auto-start
launchd.user.agents.wireguard = {
serviceConfig = {
ProgramArguments = [
"/opt/homebrew/bin/wg-quick"
"up"
"/Users/yanlin/.config/nix/config/wireguard/mba.conf"
];
RunAtLoad = true;
KeepAlive = false;
Label = "com.wireguard.mba";
StandardErrorPath = "/tmp/wireguard.err";
StandardOutPath = "/tmp/wireguard.out";
};
};
} }

View file

@ -11,8 +11,6 @@
}; };
brews = [ brews = [
# Command-line tools go here # Command-line tools go here
"wireguard-go"
"wireguard-tools"
]; ];
casks = [ casks = [
# GUI applications - manually installed apps now managed by Homebrew # GUI applications - manually installed apps now managed by Homebrew