From a92d6a8e80ca5cd1a7ee579b9d69ee9dcec8be2e Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Fri, 1 Oct 2021 11:52:01 +0200 Subject: [PATCH] netns: expose bridgeIp as an option Previously, this variable was not accessible to other modules. --- modules/netns-isolation.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/netns-isolation.nix b/modules/netns-isolation.nix index 88e486d..d0dca07 100644 --- a/modules/netns-isolation.nix +++ b/modules/netns-isolation.nix @@ -47,6 +47,12 @@ let readOnly = true; description = "Exposes netns parameters."; }; + + bridgeIp = mkOption { + default = bridgeIp; + readOnly = true; + description = "IP of the netns bridge interface."; + }; }; cfg = config.nix-bitcoin.netns-isolation;