citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit 7e41217eb7ff7f155987d63f905485437cda1f4e
parent 7725ffc2a14f36e7592ec2338850c59775f05511
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 15 Feb 2021 10:59:26 -0800

lightning: enable summary plugin

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mnix-config/machines/monad/bitcoin/default.nix | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/nix-config/machines/monad/bitcoin/default.nix b/nix-config/machines/monad/bitcoin/default.nix @@ -2,6 +2,18 @@ extra: { config, lib, pkgs, ... }: let + nix-bitcoin = import (pkgs.fetchFromGitHub { + owner = "fort-nix"; + repo = "nix-bitcoin"; + rev = "eddc48ee62e5b84400f43941dd72de06c874f0f6"; + sha256 = "1s2fzzw0zyd11nacg130lhpnrkd9ismj4cdr6sq8413my1h4hbdx"; + }) { inherit pkgs; }; + + plugins = ["summary"]; + + mkPluginCfg = name: + "plugin=${builtins.getAttr name (nix-bitcoin.clightning-plugins)}/${name}.py"; + bitcoinDataDir = "/zbig/bitcoin"; base-bitcoin-conf = extra.private.bitcoin; @@ -51,6 +63,7 @@ in rgb=ff0000 proxy=127.0.0.1:9050 experimental-offers + ${lib.concatStringsSep "\n" (map mkPluginCfg plugins)} ''; }; };