1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-25 02:59:45 +01:00
nixos-hardware/asus/zenbook/ux371/default.nix
Lyndon Sanche ba8294c0a1 common: Move Intel generation-specific config from cpu to gpu
These modules only included gpu configuration, so belong in that
location.
2024-07-09 09:05:35 +00:00

24 lines
508 B
Nix

{
config,
lib,
pkgs,
inputs,
...
}:
{
imports = [
../../../common/gpu/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";
}