aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/brightnessctl/default.nix
blob: 5092ede6208ad851f98a7c45443c4c69bc08e97a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  config,
  lib,
  pkgs,
  ...
}:

# brightnessctl - Backlight brightness control tool
{
  options.programs.brightnessctl = {
    enable = lib.mkEnableOption "Enables brightnessctl.";
  };

  config = lib.mkIf config.programs.brightnessctl.enable {
    home.packages = with pkgs; [
      brightnessctl
    ];
  };
}