NixOS/system/modules/brightnessctl.nix

13 lines
174 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}:
2024-06-12 09:54:11 +07:00
let
cfg = config.profile.brightnessctl;
in
{
config = lib.mkIf cfg.enable { environment.systemPackages = [ pkgs.brightnessctl ]; };
2024-06-12 09:54:11 +07:00
}