3 ms·
I really want to use nixos on my RPis, but its not yet out of the "really painful" stage. There's no official arm package cache so you have to cross compile eve
by psanford 6y ago
I really want to use nixos on my RPis, but its not yet out of the "really painful" stage. There's no official arm package cache so you have to cross compile everything. Unfortunately, with nix this means running an ARM compiler inside an emulator, so it is very slow.
When I finally got an image built the performance was much worse than rasbian or ubuntu. Kodi was basically unusable.
I hope these issues eventually get fixed. Being able to build an sdcard image from a nix config would be a great way to manage a bunch of Raspberry Pis.
- Gaelan 6y agoIf you're using Pi 3 and 4s, then there is an official aarch64 package cache. But yeah, older Pis (and the 0) are a PITA. Also, cross-compiling almost works now - I have a Pi 4 cross-compiling NixOS to armv6l for a Pi 0. But I'm using a clone of nixpkgs with several PRs merged, and I've taken care to avoid packages where cross doesn't work yet - definitely not plug-and-play. I imagine things will be a lot better in a year or so.