1 { config, lib, pkgs, ... }:
6 cfg = config.services.illum;
16 description = lib.mdDoc ''
17 Enable illum, a daemon for controlling screen brightness with brightness buttons.
25 config = mkIf cfg.enable {
27 systemd.services.illum = {
28 description = "Backlight Adjustment Service";
29 wantedBy = [ "multi-user.target" ];
30 serviceConfig.ExecStart = "${pkgs.illum}/bin/illum-d";
31 serviceConfig.Restart = "on-failure";