add boot splash screen

This commit is contained in:
Leonardo Eugênio 2022-12-14 01:05:27 -03:00
parent a8a31d7a91
commit d88b7bcefb
7 changed files with 90 additions and 7 deletions

View file

@ -9,6 +9,7 @@
})
(import ./sixel-patches.nix (inputs // { inherit pkgs; }))
(final: prev: {
plymouth-theme-red = (import ./plymouth-theme-red.nix (inputs // { inherit pkgs; }));
uservars = import ../user/variables.nix;
dhist = inputs.dhist.packages.${system}.dhist;
mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper;

View file

@ -0,0 +1,25 @@
inputs@{ pkgs, ... }:
pkgs.stdenv.mkDerivation rec {
pname = "red-loader-plymouth";
version = "0.0.1";
src = inputs.plymouth-themes;
buildInputs = [
pkgs.git
];
configurePhase = ''
mkdir -p $out/share/plymouth/themes/
'';
buildPhase = ''
'';
installPhase = ''
cp -r pack_4/red_loader $out/share/plymouth/themes
cat pack_4/red_loader/red_loader.plymouth | sed "s@\/usr\/@$out\/@" > \
$out/share/plymouth/themes/red_loader/red_loader.plymouth
'';
}