mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
22 lines
432 B
Nix
22 lines
432 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../../../common/cpu/intel
|
|
../../../../common/gpu/nvidia/prime.nix
|
|
../../../../common/gpu/nvidia/turing
|
|
../../../../common/pc/laptop
|
|
../../../../common/pc/ssd
|
|
];
|
|
|
|
hardware.nvidia = {
|
|
modesetting.enable = lib.mkDefault true;
|
|
powerManagement.enable = lib.mkDefault true;
|
|
|
|
prime = {
|
|
intelBusId = "PCI:0@0:2:0";
|
|
nvidiaBusId = "PCI:1@0:0:0";
|
|
};
|
|
};
|
|
}
|