mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	treewide: abstract away common configs into common/
This commit is contained in:
		
							
								
								
									
										11
									
								
								common/pc/laptop/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								common/pc/laptop/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
{ lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [ ../. ];
 | 
			
		||||
 | 
			
		||||
  boot.kernel.sysctl = {
 | 
			
		||||
    "vm.laptop_mode" = lib.mkDefault 5;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.tlp.enable = lib.mkDefault true;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user