added sygil-plymouth.nix & added import to nixpkgs

This commit is contained in:
serenity-F 2025-10-07 15:13:46 +10:00
parent 4e506e3e54
commit 8fac73ff8e
2 changed files with 48 additions and 4 deletions

View file

@ -0,0 +1,38 @@
{
stdenvNoCC,
fetchurl,
lib,
}:
stdenvNoCC.mkDerivation rec {
name = "plymouth-sygol-sigil-theme";
version = "0.0.1";
src = fetchurl {
url = "https://codeberg.org/serenity-F/sygil-plymouth/archive/snecodn.tar.gz";
sha256 = "sha256-MC88q4HvY26FMdRVKrky3WXKHlpMCfNqJwyzcU81Jk8=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/plymouth/themes/sygil
cp sygil/* $out/share/plymouth/themes/sygil
substituteInPlace $out/share/plymouth/themes/sygil/sygil.plymouth \
--replace-fail "/usr/" "$out/"
runHook postInstall
'';
meta = {
description = "Animated Plymouth boot theme with the Sygol sigil.";
longDescription = ''
Animated Plymouth theme with the Sygol sigil.
Disk encryption password prompt is supported.
'';
homepage = "https://codeberg.org/serenity-F/sygil-plymouth";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ serenity-f ];
};
}