summary refs log tree commit diff
path: root/nixos/modules/services/x11/redshift.nix
diff options
context:
space:
mode:
authorChris Martin <ch.martin@gmail.com>2015-11-10 22:28:37 -0800
committerChris Martin <ch.martin@gmail.com>2015-11-10 22:28:37 -0800
commit00c42fdda133de815dcc3bfb6a6cc793d7da2287 (patch)
treebf486ffb31a8a557e0b590de1e1e155c049c1e8a /nixos/modules/services/x11/redshift.nix
parent9a24fec15f423c3095731c5ffcedc4a51d52298a (diff)
downloadnixpkgs-00c42fdda133de815dcc3bfb6a6cc793d7da2287.tar
nixpkgs-00c42fdda133de815dcc3bfb6a6cc793d7da2287.tar.gz
nixpkgs-00c42fdda133de815dcc3bfb6a6cc793d7da2287.tar.bz2
nixpkgs-00c42fdda133de815dcc3bfb6a6cc793d7da2287.tar.lz
nixpkgs-00c42fdda133de815dcc3bfb6a6cc793d7da2287.tar.xz
nixpkgs-00c42fdda133de815dcc3bfb6a6cc793d7da2287.tar.zst
nixpkgs-00c42fdda133de815dcc3bfb6a6cc793d7da2287.zip
redshift: document lat/long and temp bounds
Diffstat (limited to 'nixos/modules/services/x11/redshift.nix')
-rw-r--r--nixos/modules/services/x11/redshift.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/nixos/modules/services/x11/redshift.nix b/nixos/modules/services/x11/redshift.nix
index ffae22d2d67..d40373ec2e5 100644
--- a/nixos/modules/services/x11/redshift.nix
+++ b/nixos/modules/services/x11/redshift.nix
@@ -22,14 +22,16 @@ in {
     latitude = mkOption {
       type = types.str;
       description = ''
-        Your current latitude.
+        Your current latitude, between
+        <literal>-90.0</literal> and <literal>90.0</literal>.
       '';
     };
 
     longitude = mkOption {
       type = types.str;
       description = ''
-        Your current longitude.
+        Your current longitude, between
+        between <literal>-180.0</literal> and <literal>180.0</literal>.
       '';
     };
 
@@ -38,14 +40,16 @@ in {
         type = types.int;
         default = 5500;
         description = ''
-          Colour temperature to use during the day.
+          Colour temperature to use during the day, between
+          <literal>1000</literal> and <literal>25000</literal> K.
         '';
       };
       night = mkOption {
         type = types.int;
         default = 3700;
         description = ''
-          Colour temperature to use at night.
+          Colour temperature to use at night, between
+          <literal>1000</literal> and <literal>25000</literal> K.
         '';
       };
     };