Move zmq options from nix-bitcoin.nix to bitcoind module

This commit is contained in:
Jonas Nick 2019-09-02 21:22:29 +00:00
parent e4d2aab561
commit cf39d88c63
No known key found for this signature in database
GPG key ID: 4861DBF262123605
2 changed files with 4 additions and 2 deletions

View file

@ -27,6 +27,10 @@ let
${optionalString (cfg.rpcuser != null) "rpcuser=${cfg.rpcuser}"}
${optionalString (cfg.rpcpassword != null) "rpcpassword=${cfg.rpcpassword}"}
# ZMQ options
${optionalString (cfg.zmqpubrawblock != null) "zmqpubrawblock=${cfg.zmqpubrawblock}"}
${optionalString (cfg.zmqpubrawtx != null) "zmqpubrawtx=${cfg.zmqpubrawtx}"}
# Extra config options (from bitcoind nixos service)
${cfg.extraConfig}
'';