mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
lenovo legion 7 slim 15ach6: add hidpi settings
This commit is contained in:
parent
648021dcb2
commit
a0eda74ee0
1 changed files with 4 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue