2021-05-22 22:17:13 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.light.enable = true;
|
|
|
|
|
|
|
|
services.actkbd = {
|
|
|
|
enable = true;
|
|
|
|
bindings = [
|
2021-05-23 16:00:37 +02:00
|
|
|
{
|
|
|
|
keys = [ 225 ];
|
2021-05-22 22:17:13 +02:00
|
|
|
events = [ "key" ];
|
|
|
|
command = "${pkgs.light}/bin/light -A 10";
|
|
|
|
}
|
2021-05-23 16:00:37 +02:00
|
|
|
{
|
|
|
|
keys = [ 224 ];
|
2021-05-22 22:17:13 +02:00
|
|
|
events = [ "key" ];
|
|
|
|
command = "${pkgs.light}/bin/light -U 10";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|