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