Falls back to use macos app for wireguard
This commit is contained in:
parent
7725fb6846
commit
4c2faddfea
9 changed files with 0 additions and 34 deletions
|
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue