lenovo legion 7 slim 15ach6: add hidpi settings
This commit is contained in:
parent
648021dcb2
commit
a0eda74ee0
|
@ -6,6 +6,7 @@ in {
|
||||||
../../../common/cpu/amd
|
../../../common/cpu/amd
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
|
../../../common/hidpi.nix
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/laptop/ssd
|
||||||
];
|
];
|
||||||
|
@ -17,6 +18,9 @@ in {
|
||||||
|
|
||||||
services.thermald.enable = lib.mkDefault true;
|
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
|
# https://wiki.archlinux.org/title/backlight#Backlight_is_always_at_full_brightness_after_a_reboot_with_amdgpu_driver
|
||||||
systemd.services.fix-brightness = {
|
systemd.services.fix-brightness = {
|
||||||
before = [
|
before = [
|
||||||
|
|
Loading…
Reference in a new issue