trustedcoin: update to v0.6.1

This commit is contained in:
Otto Sabart 2023-03-03 21:00:00 +01:00
parent 5b5e76931d
commit 8c00c26fa1
No known key found for this signature in database
GPG key ID: 823BAE99F8BE1E3C
3 changed files with 7 additions and 19 deletions

View file

@ -9,17 +9,14 @@ let cfg = config.services.clightning.plugins.trustedcoin; in
type = types.package;
default = config.nix-bitcoin.pkgs.trustedcoin;
defaultText = "config.nix-bitcoin.pkgs.trustedcoin";
description = mdDoc ''
The package providing trustedcoin binaries. Trustedcoin will try to
use a bitcoind as a trusted source for getting block data. If this
fails, it will use a trustedcoin providers instead.
'';
description = mdDoc "The package providing trustedcoin binaries.";
};
};
config = mkIf cfg.enable {
services.clightning.extraConfig = ''
plugin=${cfg.package}/bin/trustedcoin
disable-plugin=bcli
'';
};
}