From 6e1fd3d5c267b10f44b59e437422f11cc8a3790c Mon Sep 17 00:00:00 2001 From: Samuel Cobb <68509699+sjcobb2022@users.noreply.github.com> Date: Thu, 19 Oct 2023 20:54:11 +0100 Subject: [PATCH] Add amd pstate to all omen laptops (#763) --- omen/15-en0010ca/default.nix | 5 +++-- omen/15-en1007sa/default.nix | 1 + omen/16-n0005ne/default.nix | 1 + omen/en00015p/default.nix | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/omen/15-en0010ca/default.nix b/omen/15-en0010ca/default.nix index de1eee2..ff94913 100644 --- a/omen/15-en0010ca/default.nix +++ b/omen/15-en0010ca/default.nix @@ -3,6 +3,7 @@ { imports = [ ../../common/cpu/amd + ../../common/cpu/amd/pstate.nix ../../common/gpu/amd ../../common/gpu/nvidia/prime.nix ../../common/pc/laptop @@ -10,8 +11,8 @@ ]; # Enables ACPI platform profiles - boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") { - kernelModules = [ "hp-wmi" ]; + boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") { + kernelModules = [ "hp-wmi" ]; }; hardware.nvidia.prime = { diff --git a/omen/15-en1007sa/default.nix b/omen/15-en1007sa/default.nix index 4a2d07e..3929c66 100644 --- a/omen/15-en1007sa/default.nix +++ b/omen/15-en1007sa/default.nix @@ -3,6 +3,7 @@ { imports = [ ../../common/cpu/amd + ../../common/cpu/amd/pstate.nix ../../common/gpu/nvidia/prime.nix ../../common/pc/laptop ../../common/pc/ssd diff --git a/omen/16-n0005ne/default.nix b/omen/16-n0005ne/default.nix index c83951a..e8bfea8 100644 --- a/omen/16-n0005ne/default.nix +++ b/omen/16-n0005ne/default.nix @@ -3,6 +3,7 @@ { imports = [ ../../common/cpu/amd + ../../common/cpu/amd/pstate.nix ../../common/gpu/amd ../../common/pc/laptop ../../common/pc/ssd diff --git a/omen/en00015p/default.nix b/omen/en00015p/default.nix index 78e1c3d..77f943f 100644 --- a/omen/en00015p/default.nix +++ b/omen/en00015p/default.nix @@ -3,6 +3,7 @@ { imports = [ ../../common/cpu/amd + ../../common/cpu/amd/pstate.nix ../../common/gpu/nvidia/prime.nix ../../common/pc/laptop ../../common/pc/ssd