mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	thinkpad: common.nix -> default.nix + fixup after intel.nix drop
This commit is contained in:
		
							
								
								
									
										16
									
								
								lenovo/thinkpad/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								lenovo/thinkpad/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
{ lib, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
let
 | 
			
		||||
  inherit (lib) mkDefault;
 | 
			
		||||
in
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  boot = {
 | 
			
		||||
    kernelModules = [ "tp_smapi" ];
 | 
			
		||||
    extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  hardware.trackpoint.enable = mkDefault true;
 | 
			
		||||
  services.tlp.enable = mkDefault true;
 | 
			
		||||
  services.xserver.libinput.enable = mkDefault true;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user