tpwrules / nixos-apple-silicon

Resources to install NixOS bare metal on Apple Silicon Macs
MIT License
791 stars 82 forks source link

kernel: update kernel configuration #10

Closed zzywysm closed 2 years ago

zzywysm commented 2 years ago

This broadly modifies the Asahi Linux's kernel configuration to remove code not currently needed. Among many other changes, we remove USB3 and suspend/hibernate because the Asahi Linux team doesn't support them yet.

Tested on my M1 MacBook Air. Upon boot, this configuration led to 1GB less RAM consumption according to neofetch.

zzywysm commented 2 years ago

Thank you for this. It boots on my machine now. However, you said this configuration targeted a slightly older version of the Asahi kernel. Why don't you wait until I finish the changes for the recent release (which will happen tonight) then rebase on that and add your latest configuration?

Agreed. I'll submit another pull request after you move to Linux 5.19-rc6-asahi.