Live data from Hacker News

NixOS on M1

github.com

1–10 of 71 posts

Re: NixOS on M1

#2
From the page:

This is mostly a restructuring of work many others have already done, and it wouldn't have been possible without them. Important parts of the Linux on M1 experience include:

    Asahi Linux's m1n1 bootloader/hypervisor
    Asahi Linux's kernel patches
    Mark Kettenis' U-boot port
    Janne Grunau's kernel config

Re: NixOS on M1

#4

For the uninitiated, what's the issue with getting nix to work on M1?

The biggest issue is that M1 is undocumented Apple Silicon. It has to be fully reverse engineered, primarily by the Asahi Linux team.

Other Linux distros will have to piggyback off the work of Asahi, and I think that generally they're avoiding jumping in yet because the hardware support is not very mature.

Re: NixOS on M1

#5

For the uninitiated, what's the issue with getting nix to work on M1?

The biggest issue is that M1 is undocumented Apple Silicon. It has to be fully reverse engineered, primarily by the Asahi Linux team. Other Linux distros will have to piggyback off the work of Asahi, and I think that generally they're avoiding jumping in yet because the hardware support is not very mature.

Presumably everything from asahi will get merged in to mainline Linux and distros will just work.

The end goal of the project is to not require their own distribution/repos.

Re: NixOS on M1

#6
It looks like the kernel uses the upstream tags which is great. Marcan was previously annoyed with distros which yolo-ed the git commit they used and essentially ran an untested development version.

Re: NixOS on M1

#7
Tracking this closely honestly. Once external screens work I will switch to Apple hardware. But I hear that USB/TB is a total nightmare to RE and implement.

Very happy I won't need to do the nixos stuff myself!

Re: NixOS on M1

#8
The reverse engineering work that went in to this is absolutely top notch, I've read some of the articles and can barely follow them, the leaps of intuition are so large they almost feel like parallel construction at times.

Here's to hoping they get it to work. And wouldn't it be nice if Apple just for once helped out and opened up their hardware.

Re: NixOS on M1

#9
I tried that last week, and for me the dealbreaker was the touchpad... It may not really important for other people but not being able to use the f keys directly on the laptop is annoying....

Re: NixOS on M1

#10

Tracking this closely honestly. Once external screens work I will switch to Apple hardware. But I hear that USB/TB is a total nightmare to RE and implement. Very happy I won't need to do the nixos stuff myself!

It will be fascinating to see if they can get the hardware to support multiple displays under Linux on devices given that Apple doesn't support it.
Post reply on HN