Reformat nix source file using nixfmt

This commit is contained in:
ulic-youthlic 2025-07-13 06:04:55 +08:00
parent 2e4a532958
commit 9201969c1b
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
220 changed files with 3169 additions and 2487 deletions

View file

@ -3,9 +3,11 @@
config,
options,
...
}: let
}:
let
cfg = config.david.programs.wluma;
in {
in
{
options = {
david.programs.wluma = {
enable = lib.mkEnableOption "wluma";
@ -33,23 +35,22 @@ 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;
};
}
// cfg.extraSettings;
systemd = {
enable = true;
};