Add comments to clightning.nix
This commit is contained in:
@@ -1,10 +1,34 @@
|
|||||||
{...}: {
|
{
|
||||||
|
### CLIGHTNING
|
||||||
|
# Enable clightning, a Lightning Network implementation in C.
|
||||||
services = {
|
services = {
|
||||||
clightning = {
|
clightning = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
experimental-offers
|
experimental-offers
|
||||||
'';
|
'';
|
||||||
|
# == Plugins
|
||||||
|
# See ../README.md (Features → clightning) for the list of available plugins.
|
||||||
|
# plugins.clboss.enable = true;
|
||||||
};
|
};
|
||||||
|
# == REST server
|
||||||
|
# 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.
|
||||||
|
# You can also connect via WireGuard instead of Tor.
|
||||||
|
# See ../docs/services.md for details.
|
||||||
|
#
|
||||||
|
# clightning-rest = {
|
||||||
|
# enable = true;
|
||||||
|
# lndconnect = {
|
||||||
|
# enable = true;
|
||||||
|
# onion = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
|
# Set this to create an onion service by which clightning can accept incoming connections
|
||||||
|
# via Tor.
|
||||||
|
# The onion service is automatically announced to peers.
|
||||||
|
# nix-bitcoin.onionServices.clightning.public = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user