Add HP Elitebook 845g9

This commit is contained in:
Simon Guest
2023-05-03 16:51:13 +12:00
parent 81cd886719
commit 2c2d22409f
3 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{ config, pkgs, lib, ... }:
{
imports =
[
../../../../common/cpu/amd
../../../../common/cpu/amd/pstate.nix
../../../../common/gpu/amd
../../../../common/pc/laptop
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/laptop/ssd
];
hardware.enableRedistributableFirmware = lib.mkDefault true;
boot.kernelModules = [ "synaptics_usb" ];
boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_latest;
# disable Scatter/Gather APU recently enabled by default,
# which results in white screen after display reconfiguration
boot.kernelParams = [ "amdgpu.sg_display=0" ];
services.xserver = {
videoDrivers = [ "amdgpu" ];
};
}