mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-01 16:49:40 +01:00
20 lines
397 B
Nix
20 lines
397 B
Nix
{ lib, ... }:
|
|
{
|
|
imports = [
|
|
../../../common/pc/laptop
|
|
../../../common/pc/laptop/ssd
|
|
../../../common/cpu/intel/tiger-lake
|
|
../../../common/gpu/nvidia/turing
|
|
];
|
|
|
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
|
|
|
boot = {
|
|
kernelParams = [ "i915.modeset=1" ];
|
|
};
|
|
|
|
hardware.nvidia.prime = {
|
|
intelBusId = "PCI:0:2:0";
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
};
|
|
}
|