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:         xorg.xsetroot
          xorg.xprop
        ]
        ++ optional (videoDriver == "nvidia") kernelPackages.nvidia_x11;
  
      environment.systemPackages = config.environment.x11Packages;
      
  
negative.code:       };
  
      boot.extraModulePackages =
        optional (cfg.videoDriver == "nvidia") kernelPackages.nvidia_x11 ++ 
        optional (cfg.videoDriver == "nvidiaLegacy") kernelPackages.nvidia_x11_legacy;
  
      environment.etc = optionals cfg.exportConfiguration
        [ { source = "${configFile}";
  