Fix "value is a list [...]" error when lnd is not enabled

This commit is contained in:
Ștefan D. Mihăilă 2019-08-24 22:05:41 +02:00
parent 700fdf6feb
commit fccd91972a
No known key found for this signature in database
GPG Key ID: 6220AD7846220A52

View File

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