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

common-gpu-nvidia: expose architecture modules in nixosModules #1221

Closed
wants to merge 1 commit into from

Conversation

sebaszv
Copy link
Contributor

@sebaszv sebaszv commented Nov 1, 2024

Description of changes

The architecture-specific modules for common-gpu-nvidia are used in the
various hardware modules for specific hardware depending on what is needed.

This works well, but it would be nice to have these exposed through the flake
nixosModules so that users using "generic" systems can still access these
modules in the same manner as all the others. Such as in my case, I have a
desktop system running an Nvidia Ampere GPU, but have to access the
common/gpu/nvidia/ampere module through its path since it is not exposed in
the flake itself.

I did not add these to the README since none of the other common-gpu-nvidia
modules are presented there. I opted to follow the trend. I can add them all if
suggested.

Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input

Sorry, something went wrong.

The architecture-specific modules for `common-gpu-nvidia` are used in
the various hardware modules for specific hardware depending on what is
needed.

This works well, but it would be nice to have these exposed through the
flake `nixosModules` so that users using "generic" systems can still
access these modules in the same manner as all the others. Such as in my
case, I have a desktop system running an Nvidia Ampere GPU, but have to
access the `common/gpu/nvidia/ampere` module through its path since it
is not exposed in the flake itself.

I did not add these to the `README` since none of the other
`common-gpu-nvidia` modules are presented there. I opted to follow the
trend. I can add them all if suggested.
@Mic92 Mic92 closed this Nov 2, 2024
@sebaszv sebaszv deleted the gpu-nvidia-expose-arch-mods branch December 22, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants