container: fix extraVeth submodule usage
the submodule needs options, not a plain set.
This commit is contained in:
parent
2e255a2edd
commit
b6023f37ad
@ -473,7 +473,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
extraVeths = mkOption {
|
extraVeths = mkOption {
|
||||||
type = with types; attrsOf (submodule networkOptions);
|
type = with types; attrsOf (submodule { options = networkOptions; });
|
||||||
default = {};
|
default = {};
|
||||||
description = ''
|
description = ''
|
||||||
Extra veth-pairs to be created for the container
|
Extra veth-pairs to be created for the container
|
||||||
|
Loading…
x
Reference in New Issue
Block a user