491: framework: Add iio in order to enable brightness control r=Mic92 a=accelbread



Co-authored-by: Archit Gupta <accelbread@gmail.com>
This commit is contained in:
bors[bot] 2022-10-31 13:00:53 +00:00 committed by GitHub
commit d5bacd34f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,9 @@
# https://wiki.archlinux.org/title/Framework_Laptop#Changing_the_brightness_of_the_monitor_does_not_work # https://wiki.archlinux.org/title/Framework_Laptop#Changing_the_brightness_of_the_monitor_does_not_work
hardware.acpilight.enable = lib.mkDefault true; hardware.acpilight.enable = lib.mkDefault true;
# Needed for desktop environments to detect/manage display brightness
hardware.sensor.iio.enable = lib.mkDefault true;
# HiDPI # HiDPI
# Leaving here for documentation # Leaving here for documentation
# hardware.video.hidpi.enable = lib.mkDefault true; # hardware.video.hidpi.enable = lib.mkDefault true;