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:
parent
419dcc0ec7
commit
e79d0fc184
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue