1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 03:19:42 +01:00

Add amd pstate to all omen laptops (#763)

This commit is contained in:
Samuel Cobb 2023-10-19 20:54:11 +01:00 committed by GitHub
parent fb6af288f6
commit 6e1fd3d5c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../../common/cpu/amd ../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/amd ../../common/gpu/amd
../../common/gpu/nvidia/prime.nix ../../common/gpu/nvidia/prime.nix
../../common/pc/laptop ../../common/pc/laptop
@ -10,8 +11,8 @@
]; ];
# Enables ACPI platform profiles # Enables ACPI platform profiles
boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") { boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") {
kernelModules = [ "hp-wmi" ]; kernelModules = [ "hp-wmi" ];
}; };
hardware.nvidia.prime = { hardware.nvidia.prime = {

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../../common/cpu/amd ../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/nvidia/prime.nix ../../common/gpu/nvidia/prime.nix
../../common/pc/laptop ../../common/pc/laptop
../../common/pc/ssd ../../common/pc/ssd

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../../common/cpu/amd ../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/amd ../../common/gpu/amd
../../common/pc/laptop ../../common/pc/laptop
../../common/pc/ssd ../../common/pc/ssd

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../../common/cpu/amd ../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/nvidia/prime.nix ../../common/gpu/nvidia/prime.nix
../../common/pc/laptop ../../common/pc/laptop
../../common/pc/ssd ../../common/pc/ssd