mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03: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 = {
|
services.redshift.brightness = {
|
||||||
day = mkOption {
|
day = mkOption {
|
||||||
description = "Screen brightness to apply during the day (between 0.1 and 1.0)";
|
description = "Screen brightness to apply during the day (between 0.1 and 1.0)";
|
||||||
default = 1;
|
default = "1";
|
||||||
type = types.uniq types.string;
|
type = types.uniq types.string;
|
||||||
};
|
};
|
||||||
night = mkOption {
|
night = mkOption {
|
||||||
description = "Screen brightness to apply during the night (between 0.1 and 1.0)";
|
description = "Screen brightness to apply during the night (between 0.1 and 1.0)";
|
||||||
default = 1;
|
default = "1";
|
||||||
type = types.uniq types.string;
|
type = types.uniq types.string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user