add plymouth

This commit is contained in:
2024-10-09 11:46:25 +05:30
parent 474c3449dd
commit a2d827362e
76 changed files with 117 additions and 1 deletions

View File

@ -0,0 +1,23 @@
{
stdenv,
logo ? null,
lib,
...
}:
stdenv.mkDerivation {
pname = "plymouth-spinner-monochrome";
version = "1.0";
src = ./src;
buildPhase = lib.optionalString (logo != null) ''
ln -s ${logo} watermark.png
'';
installPhase = ''
mkdir -p $out/share/plymouth/themes
cp -rT . $out/share/plymouth/themes/spinner-monochrome
'';
meta = {
platforms = lib.platforms.all;
};
}