mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	lenovo/thinkpad/x1-extreme/gen4: add module
This commit is contained in:
		
							
								
								
									
										16
									
								
								lenovo/thinkpad/x1-extreme/gen4/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								lenovo/thinkpad/x1-extreme/gen4/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
{ config, lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../.
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # New ThinkPads have a different TrackPoint manufacturer/name.
 | 
			
		||||
  hardware.trackpoint.device = "TPPS/2 Elan TrackPoint";
 | 
			
		||||
 | 
			
		||||
  # Set the right DPI. xdpyinfo says the screen is 677x423 mm but
 | 
			
		||||
  # it actually is 344×215 mm.
 | 
			
		||||
  services.xserver.monitorSection = lib.mkDefault ''
 | 
			
		||||
    DisplaySize 344 215
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user