netns: expose bridgeIp as an option
Previously, this variable was not accessible to other modules.
This commit is contained in:
parent
f36df8f563
commit
a92d6a8e80
@ -47,6 +47,12 @@ let
|
|||||||
readOnly = true;
|
readOnly = true;
|
||||||
description = "Exposes netns parameters.";
|
description = "Exposes netns parameters.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bridgeIp = mkOption {
|
||||||
|
default = bridgeIp;
|
||||||
|
readOnly = true;
|
||||||
|
description = "IP of the netns bridge interface.";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
cfg = config.nix-bitcoin.netns-isolation;
|
cfg = config.nix-bitcoin.netns-isolation;
|
||||||
|
Loading…
Reference in New Issue
Block a user