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";