feat(void): add brightness control keybinds

This commit is contained in:
Khaïs COLIN 2024-10-29 13:47:04 +01:00
parent 2a3da177f1
commit a48ad48523
2 changed files with 8 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, ... }:
{ config, pkgs, ... }:
{
imports = [
./hardware-configuration-void.nix
@ -46,4 +46,9 @@
];
boot.kernelModules = ["i2c-dev" "ddcci_backlight"];
hardware.i2c.enable = true;
# package for controlling brightness on external monitor
environment.systemPackages = [
pkgs.ddcutil
];
}