1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

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 # 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;