1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-27 03:59:45 +01:00
nixos-hardware/hp/elitebook/845/g9/default.nix

25 lines
698 B
Nix
Raw Normal View History

2023-12-25 21:14:17 +01:00
{ pkgs, lib, ... }:
2023-05-03 06:51:13 +02:00
{
imports =
[
../../../../common/cpu/amd
../../../../common/cpu/amd/pstate.nix
../../../../common/gpu/amd
../../../../common/pc/laptop
../../../../common/pc/laptop/ssd
];
hardware.enableRedistributableFirmware = lib.mkDefault true;
boot.kernelModules = [ "synaptics_usb" ];
2023-05-12 00:17:26 +02:00
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.3") (lib.mkDefault pkgs.linuxPackages_latest);
2023-05-03 06:51:13 +02:00
# 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" ];
};
}