lenovo legion 7 slim 15ach6: add hidpi settings

This commit is contained in:
Ryan Horiguchi 2023-03-25 14:23:33 +01:00
parent 648021dcb2
commit a0eda74ee0
No known key found for this signature in database
GPG key ID: CA7EE98D45A1132A

View file

@ -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 = [