anchor.diff:      environment.systemPackages = config.environment.x11Packages;
       
       services.hal.packages = halConfigFiles ++
  -      optional (videoDriver == "vboxvideo") kernelPackages.virtualboxGuestAdditions;
  +      optional (videoDriver == "virtualbox") kernelPackages.virtualboxGuestAdditions;
   
       jobs.xserver =
         { startOn = if cfg.autorun then "hal" else "never";
  
positive.code:     services.xserver.deviceSection =
        ''
          Identifier "Device[0]"
          Driver "${if cfg.videoDriver == "nvidiaLegacy" then "nvidia" else cfg.videoDriver}"
  
          ${if cfg.videoDriver == "nvidiaLegacy" then ''
          # This option allows suspending with a nvidiaLegacy card
  
negative.code:     boot.extraModulePackages =
        optional (cfg.videoDriver == "nvidia") kernelPackages.nvidia_x11 ++ 
        optional (cfg.videoDriver == "nvidiaLegacy") kernelPackages.nvidia_x11_legacy ++
        optional (cfg.videoDriver == "virtualbox") kernelPackages.virtualboxGuestAdditions;
  
      environment.etc = optionals cfg.exportConfiguration
        [ { source = "${configFile}";
  