redshift: default to string type for option brightness

This commit is contained in:
Domen Kožar 2014-02-16 14:22:24 +01:00
parent 52248aa7a2
commit 0b5d523b84

View File

@ -38,12 +38,12 @@ in {
services.redshift.brightness = {
day = mkOption {
description = "Screen brightness to apply during the day (between 0.1 and 1.0)";
default = 1;
default = "1";
type = types.uniq types.string;
};
night = mkOption {
description = "Screen brightness to apply during the night (between 0.1 and 1.0)";
default = 1;
default = "1";
type = types.uniq types.string;
};
};