Skip to content

Commit

Permalink
lenovo legion 7 slim 15ach6: add hidpi settings
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoriguchi committed Mar 25, 2023
1 parent 648021d commit a0eda74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lenovo/legion/15ach6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand All @@ -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 = [
Expand Down

0 comments on commit a0eda74

Please sign in to comment.