anchor.diff:              "''${modulesPath}/testing/test-instrumentation.nix"
             ];
   
  -        boot.loader.grub.version = 2;
  +        boot.loader.grub.version = ${toString grubVersion};
  +        ${optionalString (grubVersion == 1) ''
  +          boot.loader.grub.splashImage = null;
  +        ''}
           boot.loader.grub.device = "/dev/vda";
           boot.loader.grub.extraConfig = "serial; terminal_output.serial";
           boot.initrd.kernelModules = [ "ext3" "virtio_console" ];
  
positive.code:               [ pkgs.glibcLocales
                  pkgs.sudo
                  pkgs.docbook5
                ];
            }
          ];
  
negative.code: 
  
    # The configuration to install.
    config = { fileSystems, testChannel, grubVersion }: pkgs.writeText "configuration.nix"
      ''
        { config, pkgs, modulesPath, ... }:
  
  