How to properly build/use 6.6 kernel with WSL and NixOS? #659
-
I have built a 6.6 kernel using instructions from Microsoft and put it at my WSL kernel. Everything starts. However there are a lot of errors. I imagine it has to do with the step where it says to run I have found some random attempts (unmaintained) to build custom kernels for use with WSL. I really want to build a kernel with proper zram support because I am running some builds which use up so much memory that they die even with 60GB of memory allocated to WSL. What is the proper way to build and setup a custom kernel for WSL in NixOS? Is that something this project is planning to support at all? If there isn't a straight forward answer, where should I start looking? I understand that we can't enable the normal NixOS kernel builds because WSL provides the kernel, but if I built my own |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
And #110 (comment) ? |
Beta Was this translation helpful? Give feedback.
Did you see https://lgug2z.com/articles/yubikey-passthrough-on-wsl2-with-full-fido2-support/#building-and-loading-a-custom-wsl2-linux-kernel ?
And #110 (comment) ?