NixOS on ARM/Orange Pi 5

From NixOS Wiki
Orange Pi 5
Manufacturer Orange Pi
Architecture AArch64
Bootloader vendor's u-boot
Startup order SPI NOR Flash, SD, NVMe
Maintainer ryan4yin

Orange PI 5

The Orange Pi 5 is a Single-Board Computer with a Rockchip RK3588s SoC.

System configuration

None of the basic components (Kernel, HW acceleration drivers) are available from upstream NixOS.

Building a working system requires additional configuration.

@ryan4yin's flake

A minimal flake that makes NixOS running on Orange Pi 5:

Orange PI 5B

The next version of OPI5 which added eMMC and WIFI/BT by default.


This flake which is extended version of ryan4yin by adding bootloader by default to create the bootable SDImage( The prebuilt can already be used).

Note: bootloader requires `python2` which is kinda outdate, the `NIXPKGS_ALLOW_INSECURE=1` has to be passed in order to build.