No, it’s introducing some patches.
The kernel version is pinned so that the patches are guaranteed to apply, but you definitely don’t want to use an unmaintained kernel for security reasons.
Unfortunately the patches were removed, re-added with new names, and removed again: https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/commit/beef9ab3ef03248e12e78912679933579db720aa?page=12
So you’re likely on your own in terms of figuring out how to get these patches to work with current kernels.
The nixos-hardware code is wrong, not your fault. It should be using manjaro-kernel per its own code. But again - that code won’t work now because 5.16 has long been removed from nixpkgs, for security reasons.
The patches mentioned in Add back DP alt mode patches for Pinebook Pro (c155cbef) · Commits · manjaro-arm / packages / core / linux · GitLab should apply cleanly against the 6.1 LTS kernel (as that’s the minor version they were targeting), so you may get success with that.
It may be as simple as
boot.kernelPackages = let ... in pkgs.linuxKernel.kernels.linux_6_1.override {
argsOverride = rec {
kernelPatches = map create-patch patches;
};
});
(of course including the create-patch, patches, and manjaro-patches bits in that let block, using pkgs instead of pinnedNixpkgs, adjusting the names/commits/hashes correctly)
but I can’t guarantee that as I don’t have such a system. (Not sure if argsOverride is even the current standard for kernel overrides.)