2024-10-11 23:27:07 +03:00
|
|
|
{ lib, config, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.module.desktop.brightness;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
module.desktop.brightness.enable = mkEnableOption "Brightness.";
|
|
|
|
};
|
2024-06-25 04:04:39 +03:00
|
|
|
|
2024-10-14 04:51:19 +03:00
|
|
|
config = mkIf cfg.enable { programs.light.enable = true; };
|
2024-03-28 12:01:06 +03:00
|
|
|
}
|