anchor.diff:  
   {
     options = {
  -    hardware.nvidia.modesetting.enable = lib.mkOption {
  -      type = lib.types.bool;
  +    hardware.nvidia.modesetting.enable = mkOption {
  +      type = types.bool;
         default = false;
         description = ''
           Enable kernel modesetting when using the NVIDIA proprietary driver.
  
positive.code:     hardware.opengl.package32 = nvidia_libs32;
  
      environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings ]
        ++ lib.filter (p: p != null) [ nvidia_x11.persistenced ];
  
      systemd.tmpfiles.rules = optional config.virtualisation.docker.enableNvidia
          "L+ /run/nvidia-docker/bin - - - - ${nvidia_x11.bin}/origBin"
  
negative.code:       '';
      };
  
      hardware.nvidia.optimus_prime.allowExternalGpu = mkOption {
        type = types.bool;
        default = false;
        description = ''
          Configure X to allow external NVIDIA GPUs when using optimus.
        '';
      };
  
      hardware.nvidia.optimus_prime.nvidiaBusId = mkOption {
        type = types.str;
        default = "";
        example = "PCI:1:0:0";
        description = ''
  