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,13 +3,18 @@
runCommandNoCCLocal,
rootPath,
lib,
}: let
wallpapers = with lib; srcs |> filterAttrs (name: _value: hasPrefix "wallpaper" name) |> concatMapAttrsStringSep "\n" (name: value: "ln -s ${value.src} $out/${name}");
}:
let
wallpapers =
with lib;
srcs
|> filterAttrs (name: _value: hasPrefix "wallpaper" name)
|> concatMapAttrsStringSep "\n" (name: value: "ln -s ${value.src} $out/${name}");
in
runCommandNoCCLocal "wallpapers" {} ''
mkdir -p $out
runCommandNoCCLocal "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
''