netns: expose bridgeIp as an option
Previously, this variable was not accessible to other modules.
This commit is contained in:
parent
f36df8f563
commit
a92d6a8e80
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue