git.iko.soy/typeable/nixpkgs
on master help sign in
container: fix extraVeth submodule usage

the submodule needs options, not a plain set.

commitb6023f37ad981f8eacb57d49ce18f708b43adc43 authorArnold Krille <arnold@arnoldarts.de> dateSun 9 Oct 2016, 16:02 (10 years ago) parent2e255a2
1 file changed+1−1
nixos/modules/virtualisation/containers.nix+1−1
nixos/modules/virtualisation/containers.nix+1−1
@@ -473,7 +473,7 @@ in
473473 };
474474
475475 extraVeths = mkOption {
476− type = with types; attrsOf (submodule networkOptions);
476+ type = with types; attrsOf (submodule { options = networkOptions; });
477477 default = {};
478478 description = ''
479479 Extra veth-pairs to be created for the container