feat: Change nix formatter to alejandra

This commit is contained in:
ulic-youthlic 2025-11-09 06:25:03 +08:00
parent 0b8b647f05
commit b4c3dfec42
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
229 changed files with 2528 additions and 2884 deletions

View file

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