Skip to content

Commit

Permalink
Add amd pstate to all omen laptops (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjcobb2022 authored Oct 19, 2023
1 parent fb6af28 commit 6e1fd3d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions omen/15-en0010ca/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
{
imports = [
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/amd
../../common/gpu/nvidia/prime.nix
../../common/pc/laptop
../../common/pc/ssd
];

# 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 = {
Expand Down
1 change: 1 addition & 0 deletions omen/15-en1007sa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
imports = [
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/nvidia/prime.nix
../../common/pc/laptop
../../common/pc/ssd
Expand Down
1 change: 1 addition & 0 deletions omen/16-n0005ne/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
imports = [
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/amd
../../common/pc/laptop
../../common/pc/ssd
Expand Down
1 change: 1 addition & 0 deletions omen/en00015p/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
imports = [
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/nvidia/prime.nix
../../common/pc/laptop
../../common/pc/ssd
Expand Down

0 comments on commit 6e1fd3d

Please sign in to comment.