helm/home/darwin/sketchybar/plugins/wg_on.sh

6 lines
208 B
Bash
Raw Normal View History

2024-09-08 16:32:25 -07:00
### You need to edit sudoers file to run wg-quick without password
# %admin ALL = (ALL) NOPASSWD: /nix/store/s2qw0sxax8pckbzmyw6wrarahmx65bq9-wireguard-tools-1.0.20210914/bin/wg-quick
sudo wg-quick up wg0