module(wluma): Fix wluma module doesn't use extraSettings

This commit is contained in:
ulic-youthlic 2025-07-13 06:04:55 +08:00
parent 101749eb84
commit fd9ef02112
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -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;
};