mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 03:59:45 +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";
|
||
|
};
|
||
|
};
|
||
|
}
|