mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-01 08:39:41 +01:00
22 lines
419 B
Nix
22 lines
419 B
Nix
|
{ lib, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
../../../common/pc/laptop
|
||
|
../../../common/pc/laptop/ssd
|
||
|
../../../common/gpu/intel/kaby-lake
|
||
|
../../../common/gpu/nvidia/maxwell
|
||
|
../../../common/gpu/nvidia/prime.nix
|
||
|
];
|
||
|
|
||
|
hardware.nvidia.prime = {
|
||
|
intelBusId = "PCI:0:2:0";
|
||
|
nvidiaBusId = "PCI:1:0:0";
|
||
|
};
|
||
|
|
||
|
services = {
|
||
|
thermald.enable = lib.mkDefault true;
|
||
|
fwupd.enable = lib.mkDefault true;
|
||
|
};
|
||
|
}
|