anchor.diff:    };
   
     driverNames = config.hardware.opengl.videoDrivers;
  +
  +  needsAcpid =
  +     (elem "nvidia" driverNames) ||
  +     (elem "nvidiaLegacy173" driverNames) ||
  +     (elem "nvidiaLegacy304" driverNames);
   
     drivers = flip map driverNames
       (name: { inherit name; driverName = name; } //
  
positive.code:     systemd.services."display-manager" =
        { description = "X11 Server";
  
          after = [ "systemd-udev-settle.service" "local-fs.target" ];
  
          restartIfChanged = false;
  
  
negative.code:       ++ optional (elem "virtualbox" driverNames) xorg.xrefresh
        ++ optional (elem "ati_unfree" driverNames) kernelPackages.ati_drivers_x11;
  
      services.acpid.enable = mkIf needsAcpid true;
  
      environment.pathsToLink =
        [ "/etc/xdg" "/share/xdg" "/share/applications" "/share/icons" "/share/pixmaps" ];
  
  