add presets/wireguard.nix

This allows using `lndconnect` via a direct WireGuard connection.
This commit is contained in:
Erik Arvstedt 2023-01-22 21:23:18 +01:00
parent 477e1709fb
commit a4bfefd562
No known key found for this signature in database
GPG key ID: 33312B944DD97846
9 changed files with 514 additions and 3 deletions

View file

@ -58,7 +58,9 @@
# Set this to create a clightning REST onion service.
# This also adds binary `lndconnect-clightning` to the system environment.
# This binary creates QR codes or URLs for connecting applications to clightning
# via the REST onion service (see ../docs/services.md).
# via the REST onion service.
# You can also connect via WireGuard instead of Tor.
# See ../docs/services.md for details.
#
# services.clightning-rest = {
# enable = true;
@ -84,7 +86,10 @@
# Set this to create a lnd REST onion service.
# This also adds binary `lndconnect` to the system environment.
# This binary generates QR codes or URLs for connecting applications to lnd via the
# REST onion service (see ../docs/services.md).
# REST onion service.
# You can also connect via WireGuard instead of Tor.
# See ../docs/services.md for details.
#
# services.lnd.lndconnect = {
# enable = true;
# onion = true;