mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	Add fingerprint support for Lenovo Legion 16ARHA7
This commit is contained in:
		@@ -18,4 +18,14 @@ in
 | 
			
		||||
  
 | 
			
		||||
  # √(2560² + 1600²) px / 16 in ≃ 189 dpi
 | 
			
		||||
  services.xserver.dpi = 189;
 | 
			
		||||
 | 
			
		||||
  # Enable fingerprint reader
 | 
			
		||||
  services.fprintd = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    package = pkgs.fprintd-tod;
 | 
			
		||||
    tod = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      driver = pkgs.libfprint-2-tod1-elan;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user