To me that indicates that the kernel is expected to have certain attrs. I’d just copy the missing attrs over from the prev.kernel
.
This was just so ridiculously hard. Whatever I tried I just got cryptic error messages back, so I tested another idea.
Since this is just a hack anyway I just mounted the nix store as writable and copied the surface kernel + modules manually to overwrite the regular 6.6.13 kernel used by linuxPackages_6_6
and it works
Even if it requires manual intervention, it can be done easily by a bash script and I don’t have to rip my hair out anymore trying to do something that should be simple.
For sure this is an heretic hack
1 Like