-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
X11: Different deviceSection for different GPU devices #20861
Labels
Comments
This configuration propagates to all my GPU devices, which is an issue. Any thoughts on how to tackle with this?
Short term dirty hack:
```
videoDrivers = lib.mkForce [];
drivers = [
({ driverName = ''nouveau"
BusID "PCI:1:0:0'';
name = "nouveau";
modules = [pkgs.xorg.xf86videonouveau];
})
({ driverName = ''intel"
BusID "PCI:0:2:0'';
name = "intel";
modules = [pkgs.xorg.xf86videointel];
})
```
(it is like SQL injection, only with Nix!)
Long term this could be probably supported by adding some attributes
that don't need breaking out of the quoting…
|
(triage) is there anything additional that should be done here? |
Well, functionality as requested in the original message would be useful and it is still not in NixOS. |
Would you be willing to submit a pull request? |
Me — probably not. |
Hm, I guess if someone wants it, they will implement it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
I recently got a secondary graphics card and I set in configuration.nix the following:
This configuration propagates to all my GPU devices, which is an issue. Any thoughts on how to tackle with this?
Technical details
The text was updated successfully, but these errors were encountered: