diff --git a/README.md b/README.md index d26d182..894cbdf 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,6 @@ NixOS modules ([src](modules/modules.nix)) * [currencyrate](https://github.com/lightningd/plugins/tree/master/currencyrate): currency converter * [monitor](https://github.com/lightningd/plugins/tree/master/monitor): helps you analyze the health of your peers and channels * [rebalance](https://github.com/lightningd/plugins/tree/master/rebalance): keeps your channels balanced - * [summary](https://github.com/lightningd/plugins/tree/master/summary): print a nice summary of the node status * [trustedcoin](https://github.com/nbd-wtf/trustedcoin) ([experimental](docs/services.md#trustedcoin)): replaces bitcoind with trusted public explorers * [zmq](https://github.com/lightningd/plugins/tree/master/zmq): publishes notifications via ZeroMQ to configured endpoints * [clightning-rest](https://github.com/Ride-The-Lightning/c-lightning-REST): REST server for clightning diff --git a/modules/clightning-plugins/default.nix b/modules/clightning-plugins/default.nix index 64ddcbe..3142008 100644 --- a/modules/clightning-plugins/default.nix +++ b/modules/clightning-plugins/default.nix @@ -14,7 +14,6 @@ in { imports = [ ./clboss.nix ./feeadjuster.nix - ./summary.nix ./trustedcoin.nix ./zmq.nix ]; diff --git a/modules/clightning-plugins/summary.nix b/modules/clightning-plugins/summary.nix deleted file mode 100644 index 0dd1c17..0000000 --- a/modules/clightning-plugins/summary.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ config, lib, ... }: - -with lib; -let cfg = config.services.clightning.plugins.summary; in -{ - options.services.clightning.plugins.summary = { - enable = mkEnableOption "Summary (clightning plugin)"; - currency = mkOption { - type = types.str; - default = "USD"; - description = mdDoc "The currency to look up on btcaverage."; - }; - currencyPrefix = mkOption { - type = types.str; - default = "USD $"; - description = mdDoc "The prefix to use for the currency."; - }; - availabilityInterval = mkOption { - type = types.int; - default = 300; - description = mdDoc "How often in seconds the availability should be calculated."; - }; - availabilityWindow = mkOption { - type = types.int; - default = 72; - description = mdDoc "How many hours the availability should be averaged over."; - }; - }; - - config = mkIf cfg.enable { - services.clightning.extraConfig = '' - plugin=${config.nix-bitcoin.pkgs.clightning-plugins.summary.path} - summary-currency="${cfg.currency}" - summary-currency-prefix="${cfg.currencyPrefix}" - summary-availability-interval=${toString cfg.availabilityInterval} - summary-availability-window=${toString cfg.availabilityWindow} - ''; - }; -} diff --git a/pkgs/clightning-plugins/default.nix b/pkgs/clightning-plugins/default.nix index bbdb0be..d4ba941 100644 --- a/pkgs/clightning-plugins/default.nix +++ b/pkgs/clightning-plugins/default.nix @@ -27,10 +27,6 @@ let rebalance = { description = "Keeps your channels balanced"; }; - summary = { - description = "Prints a summary of the node status"; - extraPkgs = [ packaging requests ]; - }; zmq = { description = "Publishes notifications via ZeroMQ to configured endpoints"; scriptName = "cl-zmq"; diff --git a/test/tests.nix b/test/tests.nix index 5793b14..5d5d981 100644 --- a/test/tests.nix +++ b/test/tests.nix @@ -154,7 +154,6 @@ let feeadjuster.enable = true; monitor.enable = true; rebalance.enable = true; - summary.enable = true; zmq = let tcpEndpoint = "tcp://127.0.0.1:5501"; in { enable = true; channel-opened = tcpEndpoint;