Fix backlight
This commit is contained in:
parent
a3552634b6
commit
a46e7d7bca
8 changed files with 17 additions and 66 deletions
|
@ -7,7 +7,7 @@
|
|||
xorg = lib.mkEnableOption "Enable X11 support";
|
||||
numlock = lib.mkEnableOption "Auto-enable numlock";
|
||||
x11_screens = lib.mkOption {
|
||||
default = ["UNSET1"];
|
||||
default = [ "UNSET1" ];
|
||||
description = "A list of xrandr screen names from left to right.";
|
||||
type = lib.types.listOf lib.types.str;
|
||||
};
|
||||
|
@ -19,10 +19,9 @@
|
|||
};
|
||||
phasesBrightness = {
|
||||
enable = lib.mkEnableOption "Set a specific brightness for the screen when running phases commands";
|
||||
backlight = lib.mkOption { type = lib.types.str; description = "Name of the backlight device"; };
|
||||
jour = lib.mkOption { type = lib.types.int; description = "brightness value for phase: jour"; };
|
||||
crepuscule = lib.mkOption { type = lib.types.int; description = "brightness value for phase: crepuscule"; };
|
||||
nuit = lib.mkOption { type = lib.types.int; description = "brightness value for phase: nuit"; };
|
||||
jour = lib.mkOption { type = lib.types.str; default = "100%"; description = "brightnessctl value for phase: jour"; };
|
||||
crepuscule = lib.mkOption { type = lib.types.str; default = "50%"; description = "brightnessctl value for phase: crepuscule"; };
|
||||
nuit = lib.mkOption { type = lib.types.str; default = "1%"; description = "brightnessctl value for phase: nuit"; };
|
||||
};
|
||||
};
|
||||
dev = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue