From 3ed564ea06ab321b14af51e056c266af6f39b1fe Mon Sep 17 00:00:00 2001 From: nixbitcoin Date: Tue, 4 Aug 2020 14:02:06 +0000 Subject: [PATCH] lnd: make listen IP address only --- modules/lnd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lnd.nix b/modules/lnd.nix index d733632..48446d4 100644 --- a/modules/lnd.nix +++ b/modules/lnd.nix @@ -47,7 +47,7 @@ in { description = "The data directory for LND."; }; listen = mkOption { - type = types.str; + type = types.addCheck types.str (s: builtins.length (builtins.split ":" s) == 1); default = "localhost"; description = "Bind to given address to listen to peer connections"; };