netns: expose bridgeIp as an option

Previously, this variable was not accessible to other modules.
This commit is contained in:
Erik Arvstedt 2021-10-01 11:52:01 +02:00
parent f36df8f563
commit a92d6a8e80
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -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;