NixOS on MacBook Air (Arm64) anyone?

I have this MacBook Air that I was handed over, and I installed NixOS on it.

It works quite, except suspend/hibernation which just causes a whole restart (it just starts booting from scratch).

I’m not sure if I did something wrong initially (there was some copying of drivers from MacOS that I might have botched), or is this a known issue, or I a missing some NixOS settings.

I would appreciate any info or help from someone with a similar setup.

Based on what little I know about asahi linux, I’m not sure why suspend isn’t working, but hibernate will need you to set boot.resumeDevice because it relies on persistent EFI variables if you don’t (which asahi’s UEFI implementation, u-boot, doesn’t support). But I bet hibernate still won’t work if suspend isn’t working.

1 Like