add boot splash screen
This commit is contained in:
parent
a8a31d7a91
commit
d88b7bcefb
7 changed files with 90 additions and 7 deletions
|
@ -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;
|
||||
|
|
25
overlays/plymouth-theme-red.nix
Normal file
25
overlays/plymouth-theme-red.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue