nixos/lib/testing.nix: make 'config' a free variable

cc @edolstra

+4 -4
+2 -2
nixos/lib/build-vms.nix
··· 1 - { system, minimal ? false }: 1 + { system, minimal ? false, config ? {} }: 2 2 3 - let pkgs = import ../.. { config = {}; inherit system; }; in 3 + let pkgs = import ../.. { inherit system config; }; in 4 4 5 5 with pkgs.lib; 6 6 with import ../lib/qemu-flags.nix;
+2 -2
nixos/lib/testing.nix
··· 1 - { system, minimal ? false }: 1 + { system, minimal ? false, config ? {} }: 2 2 3 - with import ./build-vms.nix { inherit system minimal; }; 3 + with import ./build-vms.nix { inherit system minimal config; }; 4 4 with pkgs; 5 5 6 6 rec {