-
-
Notifications
You must be signed in to change notification settings - Fork 663
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #769 from bhetman/hp-elitebook-g7
Add HP Elitebook 845 g7 configuration
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 = lib.mkIf (lib.versionOlder pkgs.linux.version "6.3") (lib.mkDefault pkgs.linuxPackages_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" ]; | ||
}; | ||
} |