Redshift: Difference between revisions
No edit summary |
Updated |
||
| Line 40: | Line 40: | ||
location.provider = "geoclue2";|name=/etc/nixos/configuration.nix|lang=nix}} | location.provider = "geoclue2";|name=/etc/nixos/configuration.nix|lang=nix}} | ||
==== Advanced ==== | ==== Advanced (Home Manager) ==== | ||
{{File|3=services.redshift = { | {{File|3=services.redshift = { | ||
enable = true; | enable = true; | ||
| Line 55: | Line 55: | ||
# Schedule settings | # Schedule settings | ||
dawnTime = "6:00-7:45"; | |||
duskTime = "18:35-20:15"; | |||
# General settings | # General settings | ||
| Line 78: | Line 76: | ||
# Or like this, which can also be set in services.redshift | # Or like this, which can also be set in services.redshift | ||
location.latitude = "27.9880614"; | location.latitude = "27.9880614"; | ||
location.longitude = "86.92521";|name=/etc/nixos/ | location.longitude = "86.92521";|name=/etc/nixos/home.nix|lang=nix}} | ||
== Tips and Tricks == | == Tips and Tricks == | ||
==== Location of Options ==== | ==== Location of Options ==== | ||
The | The Home Manager options are defined in the [https://nix-community.github.io/home-manager/options.xhtml#opt-services.gammastep.enable Home Manager Options Manual]. | ||
The global options are listed | The global options are listed in [https://search.nixos.org/options?query=redshift search.nixos.org]. | ||
==== Usage ==== | ==== Usage ==== | ||