Support redshift
redshift is the f.lux of Linux; it filters blue light from your screen.
This commit is contained in:
parent
8c0a56a03e
commit
a7ad2e3712
1 changed files with 11 additions and 0 deletions
|
@ -123,6 +123,17 @@
|
||||||
# Services
|
# 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.lorri.enable = true;
|
||||||
|
|
||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
|
|
Loading…
Reference in a new issue