clightning-plugins: remove unmaintained summary plugin

This commit is contained in:
Jonas Nick 2024-04-08 06:05:49 +00:00
parent 24bc983363
commit b27078efa5
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
5 changed files with 0 additions and 46 deletions

View File

@ -76,7 +76,6 @@ NixOS modules ([src](modules/modules.nix))
* [currencyrate](https://github.com/lightningd/plugins/tree/master/currencyrate): currency converter * [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 * [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 * [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 * [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 * [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 * [clightning-rest](https://github.com/Ride-The-Lightning/c-lightning-REST): REST server for clightning

View File

@ -14,7 +14,6 @@ in {
imports = [ imports = [
./clboss.nix ./clboss.nix
./feeadjuster.nix ./feeadjuster.nix
./summary.nix
./trustedcoin.nix ./trustedcoin.nix
./zmq.nix ./zmq.nix
]; ];

View File

@ -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}
'';
};
}

View File

@ -27,10 +27,6 @@ let
rebalance = { rebalance = {
description = "Keeps your channels balanced"; description = "Keeps your channels balanced";
}; };
summary = {
description = "Prints a summary of the node status";
extraPkgs = [ packaging requests ];
};
zmq = { zmq = {
description = "Publishes notifications via ZeroMQ to configured endpoints"; description = "Publishes notifications via ZeroMQ to configured endpoints";
scriptName = "cl-zmq"; scriptName = "cl-zmq";

View File

@ -154,7 +154,6 @@ let
feeadjuster.enable = true; feeadjuster.enable = true;
monitor.enable = true; monitor.enable = true;
rebalance.enable = true; rebalance.enable = true;
summary.enable = true;
zmq = let tcpEndpoint = "tcp://127.0.0.1:5501"; in { zmq = let tcpEndpoint = "tcp://127.0.0.1:5501"; in {
enable = true; enable = true;
channel-opened = tcpEndpoint; channel-opened = tcpEndpoint;