mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 18:08:38 +08: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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user