mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-27 10:47:16 +08:00
12 lines
264 B
Nix
12 lines
264 B
Nix
{ pkgs, ... }: {
|
|
# ddcutils requires i2c
|
|
boot.kernelModules = [ "i2c-dev" ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
# ddcutil can manage *external* monitor's brightness
|
|
ddcutil
|
|
|
|
# This can control the laptop display.
|
|
brightnessctl
|
|
];
|
|
}
|