mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	thinkpad: only enable tp_smapi on compatible ThinkPads, closes #36
This commit is contained in:
		@@ -1,11 +1,6 @@
 | 
			
		||||
{ config, lib, pkgs, ... }:
 | 
			
		||||
{ lib, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  boot = {
 | 
			
		||||
    kernelModules = [ "tp_smapi" ];
 | 
			
		||||
    extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  hardware.trackpoint.enable = lib.mkDefault true;
 | 
			
		||||
  services.tlp.enable = lib.mkDefault true;
 | 
			
		||||
  services.xserver.libinput.enable = lib.mkDefault true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user