nodeinfo: enable required option nix-bitcoin.operator

This commit is contained in:
Erik Arvstedt 2023-03-11 19:24:36 +01:00
parent 27d95fda85
commit cea69b73d2
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -123,8 +123,10 @@ let
in {
inherit options;
config = {
environment.systemPackages = optional cfg.enable script;
config = mkIf cfg.enable {
environment.systemPackages = [ script ];
nix-bitcoin.operator.enable = true;
nix-bitcoin.nodeinfo.services = with nodeinfoLib; {
bitcoind = mkInfo "";