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

Whether to enable Redshift.

Type: boolean

Default:

false

Example:

true

Declared by:

services.redshift.enableVerboseLogging

Whether to enable verbose service logging.

Type: boolean

Default:

false

Example:

true

Declared by:

services.redshift.package

Redshift derivation to use.

Type: package

Default:

pkgs.redshift

Declared by:

services.redshift.dawnTime

Set the time interval of dawn manually. The times must be specified as HH:MM in 24-hour format.

Type: null or string

Default:

null

Example:

"6:00-7:45"

Declared by:

services.redshift.duskTime

Set the time interval of dusk manually. The times must be specified as HH:MM in 24-hour format.

Type: null or string

Default:

null

Example:

"18:35-20:15"

Declared by:

services.redshift.latitude

Your current latitude, between -90.0 and 90.0. Must be provided along with longitude.

Type: null or string or floating point number

Default:

null

Declared by:

services.redshift.longitude

Your current longitude, between -180.0 and 180.0. Must be provided along with latitude.

Type: null or string or floating point number

Default:

null

Declared by:

services.redshift.provider

The location provider to use for determining your location. If set to manual you must also provide latitude/longitude. If set to geoclue2, you must also enable the global geoclue2 service.

Type: one of “manual”, “geoclue2”

Default:

"manual"

Declared by:

services.redshift.settings

The configuration to pass to Redshift. Available options for Redshift described in redshift(1).

Type: open submodule of attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  redshift = {
    adjustment-method = "randr";
  };
  randr = {
    screen = 0;
  };
};

Declared by:

services.redshift.temperature.day

Colour temperature to use during the day, between 1000 and 25000 K.

Type: signed integer

Default:

5500

Declared by:

services.redshift.temperature.night

Colour temperature to use at night, between 1000 and 25000 K.

Type: signed integer

Default:

3700

Declared by:

services.redshift.tray

Start the redshift-gtk tray applet.

Type: boolean

Default:

false

Example:

true

Declared by: