mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	lenovo legion 7 slim 15ach6: add hidpi settings
This commit is contained in:
		@@ -6,6 +6,7 @@ in {
 | 
			
		||||
    ../../../common/cpu/amd
 | 
			
		||||
    ../../../common/gpu/amd
 | 
			
		||||
    ../../../common/gpu/nvidia/prime.nix
 | 
			
		||||
    ../../../common/hidpi.nix
 | 
			
		||||
    ../../../common/pc/laptop
 | 
			
		||||
    ../../../common/pc/laptop/ssd
 | 
			
		||||
  ];
 | 
			
		||||
@@ -17,6 +18,9 @@ in {
 | 
			
		||||
 | 
			
		||||
  services.thermald.enable = lib.mkDefault true;
 | 
			
		||||
 | 
			
		||||
  # √(3840² + 2160²) px / 15.60 in ≃ 282 dpi
 | 
			
		||||
  services.xserver.dpi = 282;
 | 
			
		||||
 | 
			
		||||
  # https://wiki.archlinux.org/title/backlight#Backlight_is_always_at_full_brightness_after_a_reboot_with_amdgpu_driver
 | 
			
		||||
  systemd.services.fix-brightness = {
 | 
			
		||||
    before = [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user