nixos-configs/common/overlays/dracula-theme/plymouth.nix
matt1432 f4991b721e
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(plymouth theme): use my fork instead of patching it
2024-01-06 16:40:47 -05:00

20 lines
360 B
Nix

{
stdenv,
plymouth-theme-src,
...
}:
stdenv.mkDerivation {
name = "dracula-plymouth";
version = plymouth-theme-src.rev;
src = plymouth-theme-src;
installPhase = ''
chmod 777 ./dracula
sed -i "s@\/usr\/@$out\/@" ./dracula/dracula.plymouth
mkdir -p $out/share/plymouth/themes
cp -a ./dracula $out/share/plymouth/themes/
'';
}