module(wluma): Fix wluma module doesn't use extraSettings
This commit is contained in:
parent
101749eb84
commit
fd9ef02112
1 changed files with 15 additions and 13 deletions
|
|
@ -33,21 +33,23 @@ in {
|
|||
config = lib.mkIf cfg.enable {
|
||||
services.wluma = {
|
||||
enable = true;
|
||||
settings = {
|
||||
als = {
|
||||
webcam = {
|
||||
video = 0;
|
||||
thresholds = {
|
||||
"0" = "night";
|
||||
"15" = "dark";
|
||||
"30" = "dim";
|
||||
"45" = "normal";
|
||||
"60" = "bright";
|
||||
"75" = "outdoors";
|
||||
settings =
|
||||
{
|
||||
als = {
|
||||
webcam = {
|
||||
video = 0;
|
||||
thresholds = {
|
||||
"0" = "night";
|
||||
"15" = "dark";
|
||||
"30" = "dim";
|
||||
"45" = "normal";
|
||||
"60" = "bright";
|
||||
"75" = "outdoors";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
// cfg.extraSettings;
|
||||
systemd = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue