Support redshift

redshift is the f.lux of Linux; it filters blue light from your screen.
This commit is contained in:
William Carroll 2020-03-10 23:01:46 +00:00
parent 8c0a56a03e
commit a7ad2e3712

View file

@ -123,6 +123,17 @@
# Services
##############################################################################
# Filter blue light from screen after sunset.
services.redshift = {
enable = true;
latitude = "51.49";
longitude = "-0.18";
# The redshift from <nixpkgs> isn't working on gLinux.
package = pkgs.writeShellScriptBin "redshift" ''
exec /usr/bin/redshift "$@"
'';
};
services.lorri.enable = true;
services.gpg-agent = {