lnd: make listen IP address only

This commit is contained in:
nixbitcoin 2020-08-04 14:02:06 +00:00
parent 716e98789c
commit 3ed564ea06
No known key found for this signature in database
GPG Key ID: DD11F9AD5308B3BA

View File

@ -47,7 +47,7 @@ in {
description = "The data directory for LND."; description = "The data directory for LND.";
}; };
listen = mkOption { listen = mkOption {
type = types.str; type = types.addCheck types.str (s: builtins.length (builtins.split ":" s) == 1);
default = "localhost"; default = "localhost";
description = "Bind to given address to listen to peer connections"; description = "Bind to given address to listen to peer connections";
}; };