programs.light.brightnessKeys.enable
Whether to enable brightness control with keyboard keys.
This is mainly useful for minimalistic (desktop) environments. You may want to leave this disabled if you run a feature-rich desktop environment such as KDE, GNOME or Xfce as those handle the brightness keys themselves. However, enabling brightness control with this setting makes the control independent of X, so the keys work in non-graphical ttys, so you might want to consider using this instead of the default offered by the desktop environment.
Enabling this will turn on services.actkbd.
- Type
boolean- Default
false- Declared
- <nixpkgs/nixos/modules/programs/light.nix>