Skip to content

Commit

Permalink
nodeinfo: enable required option nix-bitcoin.operator
Browse files Browse the repository at this point in the history
  • Loading branch information
erikarvstedt committed Mar 11, 2023
1 parent 27d95fd commit cea69b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/nodeinfo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 "";
Expand Down

0 comments on commit cea69b7

Please sign in to comment.