mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-25 19:19:44 +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";
|
|
};
|
|
};
|
|
}
|