mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-30 06:49:43 +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:
parent
419dcc0ec7
commit
e79d0fc184
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue