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.hyprsunset.enable

Whether to enable Hyprsunset, Hyprland’s blue-light filter.

Type: boolean

Default:

false

Example:

true

Declared by:

services.hyprsunset.package

The hyprsunset package to use.

Type: package

Default:

pkgs.hyprsunset

Declared by:

services.hyprsunset.extraArgs

Additional command-line arguments to pass to hyprsunset.

Type: list of string

Default:

[ ]

Example:

[
  "--verbose"
]

Declared by:

services.hyprsunset.importantPrefixes

List of prefix of attributes to source at the top of the config.

Type: list of string

Default:

[
  "$"
]

Example:

[
  "$"
]

Declared by:

services.hyprsunset.settings

Hyprsunset configuration written in Nix. Entries with the same key should be written as lists. Variables’ and colors’ names should be quoted. See https://wiki.hypr.land/Hypr-Ecosystem/hyprsunset/ for more examples.

Type: Hyprsunset configuration value

Default:

{ }

Example:

{
  max-gamma = 150;

  profile = [
    {
      time = "7:30";
      identity = true;
    }
    {
      time = "21:00";
      temperature = 5000;
      gamma = 0.8;
    }
  ];
};

Declared by:

services.hyprsunset.systemdTarget

Systemd target to bind to.

Type: string

Default:

config.wayland.systemd.target

Example:

"hyprland-session.target"

Declared by:

services.hyprsunset.transitions

Deprecated - Use services.hyprsunset.settings instead to manage transitions.

Set of transitions for different times of day (e.g., sunrise, sunset)

Type: attribute set of (submodule)

Default:

{ }

Example:

{
  sunrise = {
    calendar = "*-*-* 06:00:00";
    requests = [
      [
        "temperature"
        "6500"
      ]
      [
        "gamma 100"
      ]
    ];
  };
  sunset = {
    calendar = "*-*-* 19:00:00";
    requests = [
      [
        "temperature"
        "3500"
      ]
    ];
  };
}

Declared by:

services.hyprsunset.transitions.<name>.calendar

Deprecated - Use services.hyprsunset.settings instead to manage transitions.

Systemd calendar expression for when to run this transition.

Type: string

Example:

"*-*-* 06:00:00"

Declared by:

services.hyprsunset.transitions.<name>.requests

Deprecated - Use services.hyprsunset.settings instead to manage transitions.

List of requests to pass to hyprctl hyprsunset for this transition. Each inner list represents a separate command.

Type: list of list of string

Default:

[ ]

Example:

[
  [
    "temperature"
    "3500"
  ]
]

Declared by: