anchor.diff:          be the only driver there.
   
           If this is enabled, then the bus IDs of the NVIDIA and Intel GPUs have to be
  -        specified (<option>hardware.nvidia.optimus_prime.nvidiaBusId</option> and
  -        <option>hardware.nvidia.optimus_prime.intelBusId</option>).
  +        specified (<option>hardware.nvidia.prime.sync.nvidiaBusId</option> and
  +        <option>hardware.nvidia.prime.sync.intelBusId</option>).
   
           If you enable this, you may want to also enable kernel modesetting for the
           NVIDIA driver (<option>hardware.nvidia.modesetting.enable</option>) in order
  
positive.code:       }
  
        {
          assertion = !optimusCfg.enable ||
            (optimusCfg.nvidiaBusId != "" && optimusCfg.intelBusId != "");
          message = ''
            When NVIDIA Optimus via PRIME is enabled, the GPU bus IDs must configured.
          '';
  
negative.code:   enabled = nvidia_x11 != null;
  
    cfg = config.hardware.nvidia;
    syncCfg = cfg.prime.sync;
  in
  
  {
    imports =
      [
        (mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "enable" ] [ "hardware" "nvidia" "prime" "sync" "enable" ])
        (mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "allowExternalGpu" ] [ "hardware" "nvidia" "prime" "sync" "allowExternalGpu" ])
        (mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "nvidiaBusId" ] [ "hardware" "nvidia" "prime" "sync" "nvidiaBusId" ])
        (mkRenamedOptionModule [ "hardware" "nvidia" "optimus_prime" "intelBusId" ] [ "hardware" "nvidia" "prime" "sync" "intelBusId" ])
      ];
  
    options = {
      hardware.nvidia.modesetting.enable = mkOption {
        type = types.bool;
  