nodeinfo: enable required option `nix-bitcoin.operator`

This commit is contained in:
Erik Arvstedt 2023-03-11 19:24:36 +01:00 committed by Greg Shuflin
parent 52810e6c88
commit 0daf52bd3f
1 changed files with 4 additions and 2 deletions

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 "";