lnd: make listen IP address only

This commit is contained in:
nixbitcoin
2020-08-04 14:07:08 +00:00
parent 716e98789c
commit 3ed564ea06
+1 -1
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";
}; };