Add HP Elitebook 845g9

This commit is contained in:
Simon Guest committed 2023-05-15 20:56:46 +12:00
1 parent 81cd886719
commit 2c2d22409f
3 files changed
+27

No files matched your search

+25
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" ];
};
}