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

cc @edolstra

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