Merge pull request #10958 from chris-martin/redshift-option-doc

redshift: document bounds for latitute/longitude and temperature options
This commit is contained in:
Domen Kožar 2015-11-11 12:00:57 +01:00
commit e9426712b0

View File

@ -22,14 +22,16 @@ in {
latitude = mkOption { latitude = mkOption {
type = types.str; type = types.str;
description = '' description = ''
Your current latitude. Your current latitude, between
<literal>-90.0</literal> and <literal>90.0</literal>.
''; '';
}; };
longitude = mkOption { longitude = mkOption {
type = types.str; type = types.str;
description = '' 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; type = types.int;
default = 5500; default = 5500;
description = '' 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 { night = mkOption {
type = types.int; type = types.int;
default = 3700; default = 3700;
description = '' description = ''
Colour temperature to use at night. Colour temperature to use at night, between
<literal>1000</literal> and <literal>25000</literal> K.
''; '';
}; };
}; };