mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +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 = {
|
||||
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 New Issue
Block a user