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,19 +3,17 @@
runCommandLocal,
rootPath,
lib,
}:
let
wallpapers =
with lib;
}: let
wallpapers = with lib;
pipe srcs [
(filterAttrs (name: _value: hasPrefix "wallpaper" name))
(concatMapAttrsStringSep "\n" (name: value: "ln -s ${value.src} $out/${name}"))
];
in
runCommandLocal "wallpapers" { } ''
mkdir -p $out
runCommandLocal "wallpapers" {} ''
mkdir -p $out
${wallpapers}
${wallpapers}
ln -s ${rootPath + "/assets/wallpaper/01.png"} $out/01.png
''
ln -s ${rootPath + "/assets/wallpaper/01.png"} $out/01.png
''