Merge #568
568: Add NVIDIA config for Dell XPS 15 7590 r=Mic92 a=ghisvail Co-authored-by: Ghislain Vaillant <ghisvail@gmail.com>
This commit is contained in:
commit
c8e047a233
|
@ -105,6 +105,7 @@ See code for all available configurations.
|
||||||
| [Dell XPS 13 9360](dell/xps/13-9360) | `<nixos-hardware/dell/xps/13-9360>` |
|
| [Dell XPS 13 9360](dell/xps/13-9360) | `<nixos-hardware/dell/xps/13-9360>` |
|
||||||
| [Dell XPS 13 9370](dell/xps/13-9370) | `<nixos-hardware/dell/xps/13-9370>` |
|
| [Dell XPS 13 9370](dell/xps/13-9370) | `<nixos-hardware/dell/xps/13-9370>` |
|
||||||
| [Dell XPS 13 9380](dell/xps/13-9380) | `<nixos-hardware/dell/xps/13-9380>` |
|
| [Dell XPS 13 9380](dell/xps/13-9380) | `<nixos-hardware/dell/xps/13-9380>` |
|
||||||
|
| [Dell XPS 15 7590, nvidia](dell/xps/15-7590/nvidia) | `<nixos-hardware/dell/xps/15-7590/nvidia>` |
|
||||||
| [Dell XPS 15 7590](dell/xps/15-7590) | `<nixos-hardware/dell/xps/15-7590>` |
|
| [Dell XPS 15 7590](dell/xps/15-7590) | `<nixos-hardware/dell/xps/15-7590>` |
|
||||||
| [Dell XPS 15 9500, nvidia](dell/xps/15-9500/nvidia) | `<nixos-hardware/dell/xps/15-9500/nvidia>` |
|
| [Dell XPS 15 9500, nvidia](dell/xps/15-9500/nvidia) | `<nixos-hardware/dell/xps/15-9500/nvidia>` |
|
||||||
| [Dell XPS 15 9500](dell/xps/15-9500) | `<nixos-hardware/dell/xps/15-9500>` |
|
| [Dell XPS 15 9500](dell/xps/15-9500) | `<nixos-hardware/dell/xps/15-9500>` |
|
||||||
|
|
15
dell/xps/15-7590/nvidia/default.nix
Normal file
15
dell/xps/15-7590/nvidia/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{lib, ...}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../../../common/gpu/nvidia/prime.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.nvidia.prime = {
|
||||||
|
# Bus ID of the Intel GPU.
|
||||||
|
intelBusId = lib.mkDefault "PCI:0:2:0";
|
||||||
|
|
||||||
|
# Bus ID of the NVIDIA GPU.
|
||||||
|
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
|
||||||
|
};
|
||||||
|
}
|
|
@ -41,6 +41,7 @@
|
||||||
dell-xps-13-9370 = import ./dell/xps/13-9370;
|
dell-xps-13-9370 = import ./dell/xps/13-9370;
|
||||||
dell-xps-13-9380 = import ./dell/xps/13-9380;
|
dell-xps-13-9380 = import ./dell/xps/13-9380;
|
||||||
dell-xps-15-7590 = import ./dell/xps/15-7590;
|
dell-xps-15-7590 = import ./dell/xps/15-7590;
|
||||||
|
dell-xps-15-7590-nvidia = import ./dell/xps/15-7590/nvidia;
|
||||||
dell-xps-15-9500 = import ./dell/xps/15-9500;
|
dell-xps-15-9500 = import ./dell/xps/15-9500;
|
||||||
dell-xps-15-9500-nvidia = import ./dell/xps/15-9500/nvidia;
|
dell-xps-15-9500-nvidia = import ./dell/xps/15-9500/nvidia;
|
||||||
dell-xps-15-9550 = import ./dell/xps/15-9550;
|
dell-xps-15-9550 = import ./dell/xps/15-9550;
|
||||||
|
|
Loading…
Reference in a new issue