diff options
author | Kenny Ballou <kballou@devnulllabs.io> | 2020-04-13 22:47:24 -0600 |
---|---|---|
committer | Kenny Ballou <kballou@devnulllabs.io> | 2020-04-13 22:47:24 -0600 |
commit | 4ee5f359ecd769c67d774349fc264b292771baed (patch) | |
tree | 9e0d9a307716865406176146e07332b78350b909 /services | |
parent | e8ed70a262cd8ebe524acd4584ffd1f7d3ed9b11 (diff) | |
download | cfg.nix-4ee5f359ecd769c67d774349fc264b292771baed.tar.gz cfg.nix-4ee5f359ecd769c67d774349fc264b292771baed.tar.xz |
services: add redshift
At least until wayland lands.
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'services')
-rw-r--r-- | services/redshift.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/services/redshift.nix b/services/redshift.nix new file mode 100644 index 0000000..83d9515 --- /dev/null +++ b/services/redshift.nix @@ -0,0 +1,17 @@ +{ config, ... }: +{ + location = { + latitude = 43.61; + longitude = -116.201; + provider = "manual"; + }; + services.redshift = { + enable = true; + temperature.day = 6500; + temperature.night = 4000; + extraOptions = [ + "-v" + "-m randr" + ]; + }; +} |