framework: Add iio in order to enable brightness control

Enabling iio makes the framework's brightness controls available to desktop
environments like Gnome.
This commit is contained in:
Archit Gupta 2022-10-29 23:22:25 -07:00
parent 419dcc0ec7
commit e79d0fc184

View file

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