~jb55/citadel

7e41217eb7ff7f155987d63f905485437cda1f4e — William Casarin 2 months ago 7725ffc
lightning: enable summary plugin

Signed-off-by: William Casarin <jb55@jb55.com>
1 files changed, 13 insertions(+), 0 deletions(-)

M nix-config/machines/monad/bitcoin/default.nix
M nix-config/machines/monad/bitcoin/default.nix => nix-config/machines/monad/bitcoin/default.nix +13 -0
@@ 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)}
      '';
    };
  };