Live data from Hacker News

NixOS on M1

github.com

41–50 of 71 posts

Re: NixOS on M1

#41

Earlier quoted context omitted.

I'm just grateful that Apple didn't totally lock down the bootloader on macOS devices, given the knowhow evident on iOS/iPadOS.

Imagine a car, but the trunk is always locked, and possibly also filled with equipment that sends everything the owner does with the car to the manufacturer. The owner can't use the trunk, as the manufacturer has the key. This would be an outrageous, almost impossible situation in car "ownership", surely resulting in class action - "I want to use my car's trunk!". But, in computers/phones it's begrudgingly accepted o…

Yet most people end up liking that car and the balance of features, looks and price. Sure, they’d love to not pay for premium gas and have the extra trunk space, but in the end they’d much rather have a car that basically never gets stolen, gets updates for years, and does what they want 97% of the time.

Meanwhile, other people spend far more time maintaining and protecting their cars that can use cheaper gas and they have full access to. But they have to be much more vigilant about what neighborhoods they park in, and once two years comes around they can no longer get replacement parts, and if the lock has an issue, people can trivially steal their car.

Or maybe this is just a tortured analogy to start with. If you don’t like Apple, just buy something else.

Re: NixOS on M1

#42

Earlier quoted context omitted.

Imagine a car, but the trunk is always locked, and possibly also filled with equipment that sends everything the owner does with the car to the manufacturer. The owner can't use the trunk, as the manufacturer has the key. This would be an outrageous, almost impossible situation in car "ownership", surely resulting in class action - "I want to use my car's trunk!". But, in computers/phones it's begrudgingly accepted o…

FYI, cars do transmit all sort of info. Here’s Tesla for example: https://www.tesla.com/ownersmanual/model3/en_cn/GUID-2E8E5E0... > Vehicle Telematics Model 3 is equipped with electronic modules that monitor and record data from various vehicle systems, including the motor, Autopilot components, Battery, braking and electrical systems. The electronic modules record information about various driving and vehicle condit…

Mine does not. As its old, real car without modern "necessities" that helps no one but manufacturer extracting money from ad companies.

Re: NixOS on M1

#43
I have been using this repo as my daily driver for a month:

* The author is quite responsive to personal messages or issues / pull requests. * The people who fork it and change a thing or two are champions, they play with adding rust compilation to the kernel, suspend, gpu drivers all before it is added to this repo. * Once you get to just NixOS, and you tweak your editor, battery monitor, etc. It is pretty hard to switch back. Nix is hard to get right, but when you get it right, it stays that way. * I still boot back to OSX every two days when I have to share screen on Microsoft Teams or do a work thing. Takes two minutes to switch to the dark side and then a few days to remember to go back to Linux. Super polished and compatible dev machine vs fast linux on M1 with sane development environment is a great combo.

Re: NixOS on M1

#44
post #42

Earlier quoted context omitted.

FYI, cars do transmit all sort of info. Here’s Tesla for example: https://www.tesla.com/ownersmanual/model3/en_cn/GUID-2E8E5E0... > Vehicle Telematics Model 3 is equipped with electronic modules that monitor and record data from various vehicle systems, including the motor, Autopilot components, Battery, braking and electrical systems. The electronic modules record information about various driving and vehicle condit…

Mine does not. As its old, real car without modern "necessities" that helps no one but manufacturer extracting money from ad companies.

Just like the “Smart TV”, I fear your options will eventually be eroded until there is essentially no choice. On the upside, just like smart TVs now, if you buy an old car in the future then perhaps the manufacturer will have let the software rot sufficiently that the servers it reports to won’t be there any more.

Re: NixOS on M1

#45

Earlier quoted context omitted.

How does copying the first paragraph of the linked README and adding three words improve the conversation?

I see your account is 1 day old, and your question makes total sense to me too. So, welcome, glad to have you here of course. The answer is a commented "tldr" is widely used on news.ycombinator.com, and, as comments below say, it's become a conventional courtesy: people tend to scan comments for tldrs, in order to possibly avoid digressing into commonly (but not always) long winded posts.

FWIW I’ve been around for ages and I routinely browse the comments to get signal on whether or not the linked content is worthwhile.

Re: NixOS on M1

#46

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!

external display over HDMI works on mac mini & studio

And on macbooks.

Re: NixOS on M1

#47
post #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.

> And wouldn't it be nice if Apple just for once helped out and opened up their hardware.

Considering M1 is directly derived from the SoCs that run the iPhone & iPad, Apple already did a complete 180° from how locked down their mobile platforms are. All the escape hatches to run third-party OS's are easily opened, there were post-release changes to the bootloader & tooling to make booting third-party kernels easier, etc.

We don't get any official docs, but unfortunately it's not like Apple has good docs even for the stuff they do actively support...

Re: NixOS on M1

#48

I have been using this repo as my daily driver for a month: * The author is quite responsive to personal messages or issues / pull requests. * The people who fork it and change a thing or two are champions, they play with adding rust compilation to the kernel, suspend, gpu drivers all before it is added to this repo. * Once you get to just NixOS, and you tweak your editor, battery monitor, etc. It is pretty hard to s…

Do you run Nix on the macOS side? How would you summarize your experience? Is it worth investing time/effort into it, considering you're also using NixOS?

Re: NixOS on M1

#49
post #34
post #5

Earlier quoted context omitted.

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.

As much as I love the project, the work is far from done. Any macOS update can change the firmware of the GPU or the display controller, which would break the Asahi driver. And there are going to be a lot of macOS updates for at least the next five years.

I'm cautiously hopeful. Apple did break things a couple times already, but along with one of the breakages, they also introduced a new "we won't break this thing again" mode.

https://web.archive.org/web/20211217132913/https://twitter.c...

Re: NixOS on M1

#50
I have a MBP M1 and considered this, but instead I went with NixOS running in a VM inside macOS: https://xyno.space/post/nixos-utm-rosetta. This means I can use all the stuff that Linux-on-M1 currently doesn't support (e.g. webcam, power management, external displays) in macOS while having a NixOS instance available too.

It should also -- at least theoretically — allow me to use Rosetta to run x86 Linux binaries. However, I'm getting segfaults when trying to build certain Nix derivations this way: https://discourse.nixos.org/t/local-x86-64-nix-builder-on-ar...

Post reply on HN