]> Git — Sourcephile - julm/julm-nix.git/blob - nixos/profiles/acpid.nix
oignon: tor: use a belgian exit node for the RTBF
[julm/julm-nix.git] / nixos / profiles / acpid.nix
1 { pkgs, ... }:
2 {
3 hardware.acpilight.enable = true;
4 services.acpid = {
5 enable = true;
6 handlers = {
7 brightnessDown = {
8 event = "video/brightnessdown.*";
9 action = "${pkgs.acpilight}/bin/xbacklight -dec 10";
10 };
11 brightnessUp = {
12 event = "video/brightnessup.*";
13 action = "${pkgs.acpilight}/bin/xbacklight -inc 10";
14 };
15 };
16 };
17 }