{ pkgs, ... }:
{
  hardware.acpilight.enable = true;
  services.acpid = {
    enable = true;
    handlers = {
      brightnessDown = {
        event = "video/brightnessdown.*";
        action = "${pkgs.acpilight}/bin/xbacklight -dec 10";
      };
      brightnessUp = {
        event = "video/brightnessup.*";
        action = "${pkgs.acpilight}/bin/xbacklight -inc 10";
      };
    };
  };
}