mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	Add amd pstate to all omen laptops (#763)
This commit is contained in:
		@@ -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 = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user