anchor.diff:          "KBUILD_BUILD_VERSION=1-NixOS"
           kernelConf.target
           "vmlinux"  # for "perf" and things like that
  -      ]
  -      ++ optional isModular "modules"
  +      ] ++ optional isModular "modules"
  +        ++ optional buildDTBs "dtbs"
         ++ extraMakeFlags;
   
         installFlags = [
           "INSTALLKERNEL=${installkernel}"
           "INSTALL_PATH=$(out)"
         ] ++ (optional isModular "INSTALL_MOD_PATH=$(out)")
  -      ++ optional installsFirmware "INSTALL_FW_PATH=$(out)/lib/firmware";
  +      ++ optional installsFirmware "INSTALL_FW_PATH=$(out)/lib/firmware"
  +      ++ optionals buildDTBs ["dtbs_install" "INSTALL_DTBS_PATH=$(out)/dtbs"];
   
         preInstall = ''
           installFlagsArray+=("-j$NIX_BUILD_CORES")
  
positive.code: 
        postInstall = (optionalString installsFirmware ''
          mkdir -p $out/lib/firmware
        '') + (if (kernelConf.DTB or false) then ''
          make $makeFlags "''${makeFlagsArray[@]}" dtbs dtbs_install INSTALL_DTBS_PATH=$out/dtbs
        '' else "") + (if isModular then ''
          mkdir -p $dev
          cp vmlinux $dev/
          if [ -z "''${dontStrip-}" ]; then
  
negative.code:       } // config_;
  
        isModular = config.isYes "MODULES";
  
        buildDTBs = kernelConf.DTB or false;
  
        installsFirmware = (config.isEnabled "FW_LOADER") &&
          (isModular || (config.isDisabled "FIRMWARE_IN_KERNEL")) &&
  