Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: device-tree-overlay suported? #169

Open
Stunkymonkey opened this issue Dec 28, 2024 · 1 comment
Open

question: device-tree-overlay suported? #169

Stunkymonkey opened this issue Dec 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Stunkymonkey
Copy link

Is your feature question request related to a problem? Please describe.

I just noticed this no longer works for me in nixos-hardware (i know other repo and not your issue):

  hardware = {
    raspberry-pi."4".leds = {
      eth.disable = true;
      act.disable = true;
      pwr.disable = true;
    };
  };

in nixos-hardware there are other parts configuring LEDs, ... for example. is this something that will be replaced by nixos-facter?

because i can not really see how this will be implemented.

Describe the solution you'd like

just an answer 😉

Describe alternatives you've considered

is this something that will remain in nixos-hardware?

Additional context

related options

@Stunkymonkey Stunkymonkey added the enhancement New feature or request label Dec 28, 2024
@Stunkymonkey Stunkymonkey changed the title question: raspberry pi with device-tree-overlay suported question: device-tree-overlay suported? Dec 28, 2024
@Mic92
Copy link
Member

Mic92 commented Jan 9, 2025

That's a good question. Something I wanted to have is automatically loading the right nixos-hardware module using nixos-facter. On x86 we can use the sku numbers and on Linux it would be device tree. I think for more generic hardware that can be found in one or more devices it would make sense to have nixos-facter modules, whereas in nixos-hardware we also have a number of quirks that are highly model specific. So the end-game would be something where many things that are provided manually in nixos-hardware is included automatically and only stuff where heuristics failed needs to be fixed by nixos-hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants