mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Add Omen 15-en0010ca
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							cb4dc98f77
						
					
				
				
					commit
					061785322d
				
			
							
								
								
									
										6
									
								
								omen/15-en0010ca/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								omen/15-en0010ca/README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
# HP Omen 15-en0001ca 
 | 
			
		||||
 | 
			
		||||
## ACPI platform profiles
 | 
			
		||||
This config enables `hp-wmi`, which allows switch between cool, balanced, and performance modes on the platform EC, used by power management tools like `power-profile-daemon` and `tlp`.
 | 
			
		||||
 | 
			
		||||
Note - this is not yet compiled on Nixpkgs provided Kernels as of September 2023. See [the relevant PR](https://github.com/NixOS/nixpkgs/pull/255846).
 | 
			
		||||
							
								
								
									
										22
									
								
								omen/15-en0010ca/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								omen/15-en0010ca/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
{ lib, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../common/cpu/amd
 | 
			
		||||
    ../../common/gpu/amd
 | 
			
		||||
    ../../common/gpu/nvidia/prime.nix
 | 
			
		||||
    ../../common/pc/laptop
 | 
			
		||||
    ../../common/pc/ssd
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # Enables ACPI platform profiles
 | 
			
		||||
  # TODO - enable module after PR merge
 | 
			
		||||
  # boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") { 
 | 
			
		||||
  #   kernelModules = [ "hp-wmi" ];  
 | 
			
		||||
  # };
 | 
			
		||||
 | 
			
		||||
  hardware.nvidia.prime = {
 | 
			
		||||
    amdgpuBusId = "PCI:7:0:0";
 | 
			
		||||
    nvidiaBusId = "PCI:1:0:0";
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user