Redshift
Appearance
Prerequisites
You can either manually configure a location or specify a location provider such as geoclue2 with the following options:
location.providerlocation.latitude(Used by themanualprovider.)location.longitude(Used by themanualprovider.)
Installation
Install it with the redshift package.
Example snippet of configuration.nix:
{ config, pkgs, callPackage, ... }: {
environment.systemPackages = with pkgs; [
...
redshift
];
...
# All values except 'enable' are optional.
services.redshift = {
enable = true;
brightness = {
# Note the string values below.
day = "1";
night = "1";
};
temperature = {
day = 5500;
night = 3700;
};
};
};