mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	Lenovo legion 7i 16ithg6: add hidpi settings
This commit is contained in:
		@@ -6,6 +6,7 @@
 | 
			
		||||
    ../../../common/gpu/nvidia/prime.nix
 | 
			
		||||
    ../../../common/pc/laptop
 | 
			
		||||
    ../../../common/pc/laptop/ssd
 | 
			
		||||
    ../../../common/hidpi.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # Specify bus id of Nvidia and Intel graphics.
 | 
			
		||||
@@ -16,4 +17,7 @@
 | 
			
		||||
 | 
			
		||||
  # Cooling management
 | 
			
		||||
  services.thermald.enable = lib.mkDefault true;
 | 
			
		||||
 | 
			
		||||
  # √(2560² + 1600²) px / 16 in ≃ 189 dpi
 | 
			
		||||
  services.xserver.dpi = 189;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user