bitcoind, clightning, run-tests: minor refactoring
bitcoind: use builtins.toFile clightning: use boolToString run-tests: remove leftover var
This commit is contained in:
parent
41fe9b0c1d
commit
7533f12ef1
3 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ let
|
|||
network=${network}
|
||||
bitcoin-datadir=${config.services.bitcoind.dataDir}
|
||||
${optionalString (cfg.proxy != null) "proxy=${cfg.proxy}"}
|
||||
always-use-proxy=${if cfg.always-use-proxy then "true" else "false"}
|
||||
always-use-proxy=${boolToString cfg.always-use-proxy}
|
||||
bind-addr=${cfg.address}:${toString cfg.port}
|
||||
bitcoin-rpcconnect=${config.services.bitcoind.rpc.address}
|
||||
bitcoin-rpcport=${toString config.services.bitcoind.rpc.port}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue