mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-03 00:09:43 +01:00
18 lines
243 B
Nix
18 lines
243 B
Nix
|
{ lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
../.
|
||
|
../../../../../common/gpu/nvidia/prime.nix
|
||
|
];
|
||
|
|
||
|
hardware = {
|
||
|
intelgpu.driver = "xe";
|
||
|
|
||
|
nvidia.prime = {
|
||
|
intelBusId = "PCI:0:2:0";
|
||
|
nvidiaBusId = "PCI:3:0:0";
|
||
|
};
|
||
|
};
|
||
|
}
|