From 800afe647fd34ce5216864f7db14341cd5734dd7 Mon Sep 17 00:00:00 2001 From: padreug Date: Wed, 24 Dec 2025 17:38:21 +0100 Subject: [PATCH] examples: add neutrino backend example for lnd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Show users how to configure lnd with the neutrino backend instead of bitcoind. This is useful for resource-constrained systems that can't run a full Bitcoin node, but provides less privacy and security than a local bitcoind. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- examples/configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/examples/configuration.nix b/examples/configuration.nix index 125beaa..b242392 100644 --- a/examples/configuration.nix +++ b/examples/configuration.nix @@ -80,6 +80,15 @@ # Set this to enable lnd, a lightning implementation written in Go. # services.lnd.enable = true; # + # By default, lnd uses bitcoind as its backend. You can use neutrino instead + # to run lnd without a full Bitcoin node. This is useful for resource-constrained + # systems, but provides less privacy and security than a local bitcoind. + # services.lnd = { + # enable = true; + # backend = "neutrino"; + # neutrino.peers = [ "btcd.example.com:8333" ]; + # }; + # # NOTE: In order to avoid collisions with clightning you must disable clightning or # change the services.clightning.port or services.lnd.port to a port other than # 9735.