From fccd91972aa935e9452cf63d75c40764aa1cdfaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20D=2E=20Mih=C4=83il=C4=83?= Date: Sat, 24 Aug 2019 22:05:41 +0200 Subject: [PATCH] Fix "value is a list [...]" error when lnd is not enabled --- modules/bitcoind.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bitcoind.nix b/modules/bitcoind.nix index 0751b71..13bb18a 100644 --- a/modules/bitcoind.nix +++ b/modules/bitcoind.nix @@ -251,7 +251,7 @@ in { // (if cfg.enforceTor then nix-bitcoin-services.allowTor else nix-bitcoin-services.allowAnyIP - ) // optionals config.services.lnd.enable nix-bitcoin-services.allowAnyProtocol; # FOR ZMQ + ) // optionalAttrs config.services.lnd.enable nix-bitcoin-services.allowAnyProtocol; # FOR ZMQ }; systemd.services.bitcoind-import-banlist = { description = "Bitcoin daemon banlist importer";