3 hardware.acpilight.enable = true;
8 event = "video/brightnessdown.*";
9 action = "${pkgs.acpilight}/bin/xbacklight -dec 10";
12 event = "video/brightnessup.*";
13 action = "${pkgs.acpilight}/bin/xbacklight -inc 10";
16 lidEventCommands = lib.mkDefault ''
17 ${pkgs.systemd}/bin/systemctl suspend
19 powerEventCommands = lib.mkDefault ''
20 ${pkgs.systemd}/bin/systemctl halt