Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

services.wluma.enable

Whether to enable Enable wluma, a service for automatic brightness adjustment.

Type: boolean

Default:

false

Example:

true

Declared by:

services.wluma.package

The wluma package to use.

Type: package

Default:

pkgs.wluma

Declared by:

services.wluma.settings

Configuration to use for wluma. See https://github.com/maximbaz/wluma/blob/main/config.toml for available options.

Type: TOML value

Default:

{ }

Example:

{
  als = {
    iio = {
      path = "";
      thresholds = {
        "0" = "night";
        "20" = "dark";
        "250" = "normal";
        "500" = "bright";
        "80" = "dim";
        "800" = "outdoors";
      };
    };
  };
}

Declared by:

services.wluma.systemd.enable

Wluma systemd integration

Type: boolean

Default:

true

Declared by:

services.wluma.systemd.target

The systemd target that will automatically start the Wluma service.

When setting this value to "sway-session.target", make sure to also enable wayland.windowManager.sway.systemd.enable, otherwise the service may never be started.

Type: null or string

Default:

config.wayland.systemd.target

Example:

"sway-session.target"

Declared by: