Add nix-bitcoin.lib for utility functions and types
This commit is contained in:
@@ -47,7 +47,7 @@ in {
|
||||
description = "The data directory for LND.";
|
||||
};
|
||||
listen = mkOption {
|
||||
type = types.addCheck types.str (s: builtins.length (builtins.split ":" s) == 1);
|
||||
type = pkgs.nix-bitcoin.lib.ipv4Address;
|
||||
default = "localhost";
|
||||
description = "Bind to given address to listen to peer connections";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user