(gnu home services desktop) module provides services that you may
find useful on “desktop” systems running a graphical user environment such
This is the service type for Redshift, a program that adjusts the display color temperature according to
the time of day. Its associated value must be a
home-redshift-configuration record, as shown below.
A typical configuration, where we manually specify the latitude and longitude, might look like this:
home-redshift-configuration fields are:
redshift) (type: file-like)
Redshift package to use.
geoclue2) (type: symbol)
'geoclue2. In the former
case, you must also specify the
so Redshift can determine daytime at your place. In the latter case, the
Geoclue system service must be running; it will be queried for location
randr) (type: symbol)
Color adjustment method.
6500) (type: integer)
Daytime color temperature (kelvins).
4500) (type: integer)
Nighttime color temperature (kelvins).
Daytime screen brightness, between 0.1 and 1.0, or left unspecified.
Nighttime screen brightness, between 0.1 and 1.0, or left unspecified.
Custom time for the transition from night to day in the
"HH:MM" format. When specified, solar elevation is not
used to determine the daytime/nighttime period.
Likewise, custom time for the transition from day to night in the evening.
"") (type: raw-configuration-string)
Extra content appended as-is to the Redshift configuration file. Run
man redshift for more information about the configuration file