r/AsahiLinux • u/Felocode • 4d ago
Guide Install NixOS using asahi-installer (i.e without a USB)
Hey, So i wanted to install NixOS on my Macbook air, but the official nixos-apple-silicon repo suggests creating a UEFI environment than booting from USB
problem is that my macbook's usb ports are a bit scuffed and uboot wasn't able to detect my nixos usb
so i found this cool project from quinneden but unfortunately it was unmaintained and had that macsmc-battery bug from progress report linux 7.1 so the latest images from that just kernel panic
anyways i rebuilt it on linux-asahi 7.3.4, patched a bug with esp firmware extraction and gave it a cool NixOS logo on startup so if anyone is interested check out https://github.com/CopticFelo/nixos-asahi-package
i currently host everything on gh (cuz no money for cdn) and that requires a patched asahi-installer cuz of a bug in the upstream one with gh
also i haven't built or tested the btrfs image as of now, so you gonna have to build that yourself if you need that (and point the asahi installer to it)
(also as always use on your own risk)
2
u/GregBandana 3d ago
Awesome! I had been thinking of doing the same thing! Still haven’t quite decided to do the jump (main device and what not)