# Flake to create a simple SD image for RPI4 (cross)

**URL:** https://discourse.nixos.org/t/flake-to-create-a-simple-sd-image-for-rpi4-cross/35185
**Category:** Help
**Created:** [November 8, 2023, 3:11pm UTC](https://discourse.nixos.org/t/flake-to-create-a-simple-sd-image-for-rpi4-cross/35185 "2023-11-08T15:11:21Z")
**Posts on this page:** 1
**Showing post:** 18

<div class="post-metadata">

### Author: ![ElvishJerricco](https://discourse.nixos.org/user_avatar/discourse.nixos.org/elvishjerricco/32/984_2.png) [@ElvishJerricco](https://discourse.nixos.org/u/ElvishJerricco)
#### Post date: [November 10, 2023, 7:55am UTC](https://discourse.nixos.org/t/flake-to-create-a-simple-sd-image-for-rpi4-cross/35185/18 "2023-11-10T07:55:30Z")

</div>

> [@pdevil](#):
>
> I would have expected something much more general to the whole aarch64 platform.

That’s not really possible. ARM doesn’t have _any_ kind of standard boot mechanism across boards, except for EBBR which is (mostly) only adopted on servers. See: [Planning for a better NixOS on ARM (and other non-x86\_64 systems)](https://discourse.nixos.org/t/planning-for-a-better-nixos-on-arm-and-other-non-x86-64-systems/15346)

> [@pdevil](#):
>
> The second link, I haven’t found before, but it does add a lot of unnecessary stuff. Is there a way to remove that include from my flake?

You can probably add it to [the `disabledModules` list](https://nixos.org/manual/nixos/stable/#sec-replace-modules) (note, that section is titled “replace modules”, but you don’t actually have to provide a replacement).

---

_[View the full topic](https://discourse.nixos.org/t/flake-to-create-a-simple-sd-image-for-rpi4-cross/35185)._
