anchor.diff:              Option "RandRRotation" "on"
             ''}
   
  -          ${if cfg.videoDriver != "vboxvideo" then
  +          ${if cfg.videoDriver != "virtualbox" then
               let
                 f = depth:
                   ''
  
positive.code:     environment.systemPackages = config.environment.x11Packages;
      
      services.hal.packages = halConfigFiles ++
        optional (videoDriver == "vboxvideo") kernelPackages.virtualboxGuestAdditions;
  
      jobs.xserver =
        { startOn = if cfg.autorun then "hal" else "never";
  
negative.code:     openchrome = { modules = [ xorg.xf86videoopenchrome ]; };
      cirrus =     { modules = [ xorg.xf86videocirrus ]; };
      vmware =     { modules = [ xorg.xf86videovmware ]; };
      virtualbox = { modules = [ kernelPackages.virtualboxGuestAdditions ]; };
    };
  
    videoDriver = cfg.videoDriver;
  