mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			322 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			322 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }: {
 | 
						|
  imports = [
 | 
						|
    ../../../common/cpu/amd
 | 
						|
    ../../../common/cpu/amd/pstate.nix
 | 
						|
    ../../../common/gpu/amd
 | 
						|
  ];
 | 
						|
 | 
						|
  # AMD has better battery life with PPD over TLP:
 | 
						|
  # https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13
 | 
						|
  services.power-profiles-daemon.enable = lib.mkDefault true;
 | 
						|
}
 |