about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2015-11-11 12:00:57 +0100
committerDomen Kožar <domen@dev.si>2015-11-11 12:00:57 +0100
commite9426712b09a838d2d34d22a7718f879420aa4c9 (patch)
treec55a52508e7782b387e8cbede2360abc2f3c7bc4
parent0b5da980ed7d537d718acfcc73cc9420a4e73294 (diff)
parent00c42fdda133de815dcc3bfb6a6cc793d7da2287 (diff)
downloadnixlib-e9426712b09a838d2d34d22a7718f879420aa4c9.tar
nixlib-e9426712b09a838d2d34d22a7718f879420aa4c9.tar.gz
nixlib-e9426712b09a838d2d34d22a7718f879420aa4c9.tar.bz2
nixlib-e9426712b09a838d2d34d22a7718f879420aa4c9.tar.lz
nixlib-e9426712b09a838d2d34d22a7718f879420aa4c9.tar.xz
nixlib-e9426712b09a838d2d34d22a7718f879420aa4c9.tar.zst
nixlib-e9426712b09a838d2d34d22a7718f879420aa4c9.zip
Merge pull request #10958 from chris-martin/redshift-option-doc
redshift: document bounds for latitute/longitude and temperature options
-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 ffae22d2d670..d40373ec2e55 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.
         '';
       };
     };