mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
redshift: default to string type for option brightness
This commit is contained in:
parent
52248aa7a2
commit
0b5d523b84
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue