Easy Wireguard configurator.
I didn't write any documentation yet, but --help
option is available.
```bash
wgbond init wgvpn
wgbond add server \ --endpoint example.com:42000 \ --nixops \ # Include into NixOps export --center \ # Make clients use this peer as gateway --gateway \ # And get internet through it --masquerade eth0 # And forward via eth0
wgbond add phone --keepalive 30
wgbond nixops > wg.nix nixops modify wg.nix machines.nix nixops deploy
wgbond qr phone
```
Use VSCodium + Nix for the best experience. Just add recommended extensions, and you are good to go.