nixos-configs/legacyPackages/dracula/plymouth.nix
matt1432 c701e335d1
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(flake): move some code out of flake.in.nix
2024-07-21 17:12:26 -04:00

21 lines
386 B
Nix

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