1 { config, lib, pkgs, ... }:
3 cfg = config.hardware.brillo;
8 enable = lib.mkEnableOption ''
10 This will allow brightness control from users in the video group
15 config = lib.mkIf cfg.enable {
16 services.udev.packages = [ pkgs.brillo ];
17 environment.systemPackages = [ pkgs.brillo ];