Package wallpapers and sync flake inputs and package upstream source

This commit is contained in:
ulic-youthlic 2025-07-03 20:10:07 +08:00
parent bebfd63f40
commit 250c5f2cec
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
9 changed files with 131 additions and 58 deletions

12
pkgs/wallpapers.nix Normal file
View file

@ -0,0 +1,12 @@
{
srcs,
runCommandNoCCLocal,
rootPath,
}:
runCommandNoCCLocal "wallpapers" {} ''
mkdir -p $out
ln -s ${srcs."wallpaper_hieda-no-akyuu-touhou.1920x1080.mp4".src} $out/wallpaper_hieda-no-akyuu-touhou.1920x1080.mp4
ln -s ${srcs."wallpaper_outer-wilds.3840x2160.mp4".src} $out/wallpaper_outer-wilds.3840x2160.mp4
ln -s ${rootPath + "/assets/wallpaper/01.png"} $out/01.png
''