mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Most trackpoint users I know use the middle-button to have some scrolling functionality. So I think that for ThinkPads at least we should have this enabled by default if the trackpoint shall be used.
		
			
				
	
	
		
			12 lines
		
	
	
		
			345 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			345 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ config, lib, pkgs, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [ ../../common/pc/laptop ];
 | 
						|
 | 
						|
  hardware.trackpoint.enable = lib.mkDefault true;
 | 
						|
  hardware.trackpoint.emulateWheel = lib.mkDefault config.hardware.trackpoint.enable;
 | 
						|
 | 
						|
  # Fingerprint reader: login and unlock with fingerprint (if you add one with `fprintd-enroll`)
 | 
						|
  # services.fprintd.enable = true;
 | 
						|
}
 |