nixos-configs/common/overlays/dracula-theme/plymouth.nix
matt1432 5f9dca81e1
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: use genflake for better flake inputs handling
2024-05-20 01:17:07 -04:00

20 lines
371 B
Nix

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