mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-20 18:09:42 +01:00
25 lines
508 B
Nix
25 lines
508 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
pkgs,
|
||
|
inputs,
|
||
|
...
|
||
|
}:
|
||
|
{
|
||
|
imports = [
|
||
|
../../../common/cpu/intel/tiger-lake
|
||
|
../../../common/pc/laptop
|
||
|
../../../common/pc/laptop/ssd
|
||
|
../../battery.nix
|
||
|
];
|
||
|
|
||
|
boot.kernelParams = lib.mkIf (config.hardware.intelgpu.driver == "xe") [
|
||
|
"i915.force_probe=!9a49"
|
||
|
"xe.force_probe=9a49"
|
||
|
];
|
||
|
|
||
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||
|
services.thermald.enable = lib.mkDefault true;
|
||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
|
}
|