Skip to content

limine: add support for config.hardware.deviceTree #596803

In progress

Description

@notaclementine

Nixpkgs version

  • Unstable (27.05)

Describe the bug

My phone requires custom device trees but due to not wanting to reflash the phone every update uboot is not built with them. systemd-boot nixos module already supports loading the device trees with boot.loader.systemd-boot.installDeviceTree and limine supports loading the device trees with a dtb_path per boot menu entry, but the nixos module/installer (the old python one or the new rust one) does not implement support for this. So I am requesting for that to be added pretty please, I cannot do it myself unfortunately.

Steps to reproduce

read limine nixos options - not there
read limine installer python code - not there
read limine installer rust code - not there
read limine docs - is there
read systemd nixos module - is there

Minimal reproducer

Expected behaviour

limine to load the dtb for a generation into its matching bootmenu entry.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "aarch64-linux"
  • host os: Linux 6.18.65, NixOS, 27.05 (Axolotl), 27.05.20261129.e713fda
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.35.6
  • nixpkgs: /nix/store/8k6krmi5gzqzbw28qr293mc8r0a85kzw-source

Notify maintainers

@JohnRTitor @lzcunt @Moraxyc @Prince213 @programmerlexi @ryand56


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: enhancement
    6.topic: hardware
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancement6.topic: hardware

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions