nixos-configs/pkgs/dracula/plymouth.nix
matt1432 a51db7b00f
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: move dracula from common overlays to pkgs
2024-06-08 23:40:44 -04:00

20 lines
372 B
Nix

{
stdenv,
dracula-plymouth-src,
...
}:
stdenv.mkDerivation {
pname = "dracula-plymouth";
version = dracula-plymouth-src.shortRev;
src = dracula-plymouth-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/
'';
}