Added support for Lenovo Legion Slim 5 (16APH8)

Added PPD after researching the Framework laptops with AMD 7000 series
This commit is contained in:
Will Lucas
2023-12-28 10:41:41 -06:00
committed by mergify[bot]
parent f752581d67
commit c2f991b91e
4 changed files with 77 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
{ lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
# Sets the kernel version to the latest kernel to make the usage of the iGPU possible if your kernel version is too old
@@ -10,7 +10,7 @@
boot = lib.mkMerge [
(lib.mkIf (lib.versionOlder pkgs.linux.version "6.1") {
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = ["amdgpu.sg_display=0"];
kernelParams = ["amdgpu.sg_display=0"];
})
(lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.2") {