Add comments to clightning.nix

This commit is contained in:
Bitcoin Txoko
2024-07-23 09:10:08 +02:00
committed by GitHub
parent be84d63fc4
commit 59bfba218b
+25 -1
View File
@@ -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;
} }