anchor.diff:      services.xserver.deviceSection =
         ''
           Identifier "Device[0]"
  -        Driver "${if cfg.videoDriver == "nvidiaLegacy" then "nvidia" else cfg.videoDriver}"
  +        Driver "${if cfg.videoDriver == "nvidiaLegacy" then "nvidia" 
  +	          else if cfg.videoDriver == "virtualbox" then "vboxvideo"
  +	          else cfg.videoDriver}"
   
           ${if cfg.videoDriver == "nvidiaLegacy" then ''
           # This option allows suspending with a nvidiaLegacy card
  
positive.code:             Option "RandRRotation" "on"
            ''}
  
            ${if cfg.videoDriver != "vboxvideo" then
              let
                f = depth:
                  ''
  
negative.code:     openchrome = { modules = [ xorg.xf86videoopenchrome ]; };
      cirrus =     { modules = [ xorg.xf86videocirrus ]; };
      vmware =     { modules = [ xorg.xf86videovmware ]; };
      virtualbox = { modules = [ kernelPackages.virtualboxGuestAdditions ]; };
    };
  
    videoDriver = cfg.videoDriver;
  