From ddadaed3da6e3e4266ca78d3f5f3faf66f48bd21 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Fri, 16 Oct 2020 17:42:58 +0200 Subject: [PATCH] clightning: always use bind-addr in config bind-addr can't be null. --- modules/clightning.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/clightning.nix b/modules/clightning.nix index 50dc7c0..7c60c93 100644 --- a/modules/clightning.nix +++ b/modules/clightning.nix @@ -11,7 +11,7 @@ let 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"} - ${optionalString (cfg.bind-addr != null) "bind-addr=${cfg.bind-addr}:${toString cfg.bindport}"} + bind-addr=${cfg.bind-addr}:${toString cfg.bindport} ${optionalString (cfg.bitcoin-rpcconnect != null) "bitcoin-rpcconnect=${cfg.bitcoin-rpcconnect}"} bitcoin-rpcuser=${config.services.bitcoind.rpc.users.public.name} rpc-file-mode=0660