mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 19:39:42 +01:00
18 lines
287 B
Nix
18 lines
287 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../.
|
|
../../../../../common/gpu/nvidia/prime.nix
|
|
../../../../../common/gpu/nvidia/turing
|
|
];
|
|
|
|
hardware = {
|
|
intelgpu.driver = "xe";
|
|
|
|
nvidia.prime = {
|
|
intelBusId = "PCI:0:2:0";
|
|
nvidiaBusId = "PCI:3:0:0";
|
|
};
|
|
};
|
|
}
|