netns: expose bridgeIp as an option
Previously, this variable was not accessible to other modules.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user