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:             XORG_DRI_DRIVER_PATH = "${pkgs.mesa}/lib/dri";
            } // optionalAttrs (videoDriver == "nvidia") {
              LD_LIBRARY_PATH = "${xorg.libX11}/lib:${xorg.libXext}/lib:${kernelPackages.nvidia_x11}/lib";
            } // cfg.displayManager.job.environment;
  
          preStart =
  
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}";
  