1 { config, lib, pkgs, ... }:
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";
20 ${pkgs.linuxPackages.cpupower}/bin/cpupower frequency-set -g powersave;;
21 00000001) # plugged in
22 ${pkgs.linuxPackages.cpupower}/bin/cpupower frequency-set -g ondemand;;