container: fix extraVeth submodule usage

the submodule needs options, not a plain set.
This commit is contained in:
Arnold Krille 2016-10-09 16:02:14 +02:00
parent 2e255a2edd
commit b6023f37ad

View File

@ -473,7 +473,7 @@ in
};
extraVeths = mkOption {
type = with types; attrsOf (submodule networkOptions);
type = with types; attrsOf (submodule { options = networkOptions; });
default = {};
description = ''
Extra veth-pairs to be created for the container