Add deskOS Plymouth theme package

This commit is contained in:
Michael Smith
2024-09-11 16:09:46 +02:00
parent 107470819c
commit 73d2aaee2d
7 changed files with 39 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
{stdenv}:
stdenv.mkDerivation {
pname = "desk-os-plymouth";
version = "0.0.1";
src = ./src;
installPhase = ''
runHook preInstall
sed -i 's:\(^ImageDir=\)/usr:\1'"$out"':' desk-os.plymouth
sed -i 's:\(^ScriptFile=\)/usr:\1'"$out"':' desk-os.plymouth
mkdir -p $out/share/plymouth/themes/desk-os
cp * $out/share/plymouth/themes/desk-os
runHook postInstall
'';
}