anchor.diff:          EndSection
   
           Section "Extensions"
  -          ${optionalString (cfg.videoDriver == "nvidia" || cfg.videoDriver == "i810" || cfg.videoDriver == "ati" || cfg.videoDriver == "radeonhd") ''
  +          ${optionalString (cfg.videoDriver == "nvidia" || cfg.videoDriver == "nvidiaLegacy" || cfg.videoDriver == "i810" || cfg.videoDriver == "ati" || cfg.videoDriver == "radeonhd") ''
               Option "Composite" "Enable"
             ''}
           EndSection
  
positive.code:   # Map the video driver setting to a driver.
    knownVideoDrivers = {
      nvidia =     { modules = [ kernelPackages.nvidia_x11 ]; };
      vesa =       { modules = [ xorg.xf86videovesa ]; };
      vga =        { modules = [ xorg.xf86videovga ]; };
      sis =        { modules = [ xorg.xf86videosis ]; };
  
negative.code:             XORG_DRI_DRIVER_PATH = "${pkgs.mesa}/lib/dri";
            } // optionalAttrs (videoDriver == "nvidia") {
              LD_LIBRARY_PATH = "${xorg.libX11}/lib:${xorg.libXext}/lib:${kernelPackages.nvidia_x11}/lib";
            } // optionalAttrs (videoDriver == "nvidiaLegacy") {
              LD_LIBRARY_PATH = "${xorg.libX11}/lib:${xorg.libXext}/lib:${kernelPackages.nvidia_x11_legacy}/lib";
            } // cfg.displayManager.job.environment;
  
          preStart =
  