added powersaving role.
This commit is contained in:
		
							parent
							
								
									3cddd823c1
								
							
						
					
					
						commit
						4127c28ed6
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								roles/nixos/power-saving.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								roles/nixos/power-saving.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  powerManagement.powertop.enable = true;
 | 
			
		||||
  powerManagement.enable = true;
 | 
			
		||||
  powerManaagement.cpuFreqGovernor = "ondemand";
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue