anchor.diff:      boot.extraModulePackages =
         optional (cfg.videoDriver == "nvidia") kernelPackages.nvidia_x11 ++ 
         optional (cfg.videoDriver == "nvidiaLegacy") kernelPackages.nvidia_x11_legacy ++
  -      optional (cfg.videoDriver == "vboxvideo") kernelPackages.virtualboxGuestAdditions;
  +      optional (cfg.videoDriver == "virtualbox") kernelPackages.virtualboxGuestAdditions;
   
       environment.etc = optionals cfg.exportConfiguration
         [ { source = "${configFile}";
  
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:     environment.systemPackages = config.environment.x11Packages;
      
      services.hal.packages = halConfigFiles ++
        optional (videoDriver == "virtualbox") kernelPackages.virtualboxGuestAdditions;
  
      jobs.xserver =
        { startOn = if cfg.autorun then "hal" else "never";
  