anchor.diff:                    ${optionalString (pkgs.stdenv.system == "x86_64-linux" && cfg.driSupport32Bit)
                       "ln -sf ${pkgs_i686.linuxPackages.nvidia_x11.override { libsOnly = true; kernel = null; } } /var/run/opengl-driver-32"}
                   ''
  -              else if elem "nvidiaLegacy" driverNames then
  -                "ln -sf ${kernelPackages.nvidia_x11_legacy} /var/run/opengl-driver"
  +              else if elem "nvidiaLegacy96" driverNames then
  +                "ln -sf ${kernelPackages.nvidia_x11_legacy96} /var/run/opengl-driver"
  +              else if elem "nvidiaLegacy173" driverNames then
  +                "ln -sf ${kernelPackages.nvidia_x11_legacy173} /var/run/opengl-driver"
                 else if cfg.driSupport then
                   "ln -sf ${pkgs.mesa} /var/run/opengl-driver"
                 else ""
  
positive.code: 
      boot.extraModulePackages =
        optional (elem "nvidia" driverNames) kernelPackages.nvidia_x11 ++ 
        optional (elem "nvidiaLegacy" driverNames) kernelPackages.nvidia_x11_legacy ++
        optional (elem "virtualbox" driverNames) kernelPackages.virtualboxGuestAdditions ++
        optional (elem "ati_unfree" driverNames) kernelPackages.ati_drivers_x11;
  
  
negative.code:         pkgs.xterm
        ]
        ++ optional (elem "nvidia" driverNames) kernelPackages.nvidia_x11
        ++ optional (elem "nvidiaLegacy96" driverNames) kernelPackages.nvidia_x11_legacy96
        ++ optional (elem "nvidiaLegacy173" driverNames) kernelPackages.nvidia_x11_legacy173
        ++ optional (elem "virtualbox" driverNames) xorg.xrefresh
        ++ optional (elem "ati_unfree" driverNames) kernelPackages.ati_drivers_x11;
        
  