1 { config, lib, pkgs, ... }:
3 cfg = config.services.illum;
10 enable = lib.mkOption {
12 type = lib.types.bool;
14 Enable illum, a daemon for controlling screen brightness with brightness buttons.
22 config = lib.mkIf cfg.enable {
24 systemd.services.illum = {
25 description = "Backlight Adjustment Service";
26 wantedBy = [ "multi-user.target" ];
27 serviceConfig.ExecStart = "${pkgs.illum}/bin/illum-d";
28 serviceConfig.Restart = "on-failure";