lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

nixos/prometheus.exporters.bitcoin: fix SC2155 (#411022)

authored by

Franz Pletz and committed by
GitHub
bec2364e 8c1857cc

+3 -3
+3 -3
nixos/modules/services/monitoring/prometheus/exporters/bitcoin.nix
··· 2 2 config, 3 3 lib, 4 4 pkgs, 5 - options, 6 5 ... 7 6 }: 8 7 9 8 let 10 9 cfg = config.services.prometheus.exporters.bitcoin; 11 - inherit (lib) mkOption types concatStringsSep; 10 + inherit (lib) mkOption types; 12 11 in 13 12 { 14 13 port = 9332; ··· 75 74 }; 76 75 serviceOpts = { 77 76 script = '' 78 - export BITCOIN_RPC_PASSWORD=$(cat ${cfg.rpcPasswordFile}) 77 + BITCOIN_RPC_PASSWORD=$(cat ${cfg.rpcPasswordFile}) 78 + export BITCOIN_RPC_PASSWORD 79 79 exec ${cfg.package}/bin/bitcoind-monitor.py 80 80 ''; 81 81