2024-05-20 02:06:05 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
imports = [
|
2024-06-29 00:23:23 +00:00
|
|
|
../../../common/gpu/intel/tiger-lake
|
2024-05-20 02:06:05 +00:00
|
|
|
../../../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";
|
|
|
|
}
|