From b6023f37ad981f8eacb57d49ce18f708b43adc43 Mon Sep 17 00:00:00 2001 From: Arnold Krille Date: Sun, 9 Oct 2016 16:02:14 +0200 Subject: [PATCH] container: fix extraVeth submodule usage the submodule needs options, not a plain set. --- nixos/modules/virtualisation/containers.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/containers.nix b/nixos/modules/virtualisation/containers.nix index 5e1cfcdfc6f..aa28a25be7a 100644 --- a/nixos/modules/virtualisation/containers.nix +++ b/nixos/modules/virtualisation/containers.nix @@ -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