containers module: optionSet -> submodule
This commit is contained in:
parent
062928c3ad
commit
69713a882c
@ -391,9 +391,8 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
extraVeths = mkOption {
|
extraVeths = mkOption {
|
||||||
type = types.attrsOf types.optionSet;
|
type = with types; attrsOf (submodule networkOptions);
|
||||||
default = {};
|
default = {};
|
||||||
options = networkOptions;
|
|
||||||
description = ''
|
description = ''
|
||||||
Extra veth-pairs to be created for the container
|
Extra veth-pairs to be created for the container
|
||||||
'';
|
'';
|
||||||
@ -408,8 +407,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
bindMounts = mkOption {
|
bindMounts = mkOption {
|
||||||
type = types.loaOf types.optionSet;
|
type = with types; loaOf (submodule bindMountOpts);
|
||||||
options = [ bindMountOpts ];
|
|
||||||
default = {};
|
default = {};
|
||||||
example = { "/home" = { hostPath = "/home/alice";
|
example = { "/home" = { hostPath = "/home/alice";
|
||||||
isReadOnly = false; };
|
isReadOnly = false; };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user