anchor.diff:                then ''
                   ln -sf ${kernelPackages.nvidia_x11} /var/run/opengl-driver
                 ''
  +	      else if videoDriver == "nvidia"
  +              then ''
  +                ln -sf ${kernelPackages.nvidia_x11_legacy} /var/run/opengl-driver
  +              ''
                 else if cfg.driSupport
                 then "ln -sf ${pkgs.mesa} /var/run/opengl-driver"
                 else ""
  
positive.code:         EndSection
  
          Section "Extensions"
            ${optionalString (cfg.videoDriver == "nvidia" || cfg.videoDriver == "i810" || cfg.videoDriver == "ati" || cfg.videoDriver == "radeonhd") ''
              Option "Composite" "Enable"
            ''}
          EndSection
  
negative.code:     services.xserver.deviceSection =
        ''
          Identifier "Device[0]"
          Driver "${if cfg.videoDriver == "nvidiaLegacy" then "nvidia" else cfg.videoDriver}"
  
          # !!! Is the "Clone" option still useful?
          Option "Clone" "${if cfg.isClone then "on" else "off"}"
  