maybe make plymouth work?

This commit is contained in:
Anish Lakhwara 2022-10-19 16:17:56 +10:00
parent f3cace404d
commit 57cc3fbbdf
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ self, profiles, suites, ... }: { self, pkgs, profiles, suites, ... }:
{ {
imports = [ imports = [
./configuration.nix ./configuration.nix

View file

@ -3,10 +3,9 @@ pkgs.stdenv.mkDerivation rec {
pname = "plymouth-themes"; pname = "plymouth-themes";
version = "bf2f570bee8e84c5c20caac353cbe1d811a4745f"; version = "bf2f570bee8e84c5c20caac353cbe1d811a4745f";
src = pkgs.fetchGit { src = builtins.fetchGit {
url = "https://github.com/adi1090x/plymouth-themes"; url = "https://github.com/adi1090x/plymouth-themes";
rev = "bf2f570bee8e84c5c20caac353cbe1d811a4745f"; rev = "bf2f570bee8e84c5c20caac353cbe1d811a4745f";
sha256 = "";
}; };
buildInputs = [ buildInputs = [
@ -22,6 +21,10 @@ pkgs.stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
cp -r pack_3/lone $out/share/plymouth/themes cp -r pack_3/lone $out/share/plymouth/themes
cp -r pack_3/motion $out/share/plymouth/themes
cp -r pack_1/colorful_sliced $out/share/plymouth/themes
cp -r pack_2/hexagon_2 $out/share/plymouth/themes
cp -r pack_2/hexagon_dots_alt $out/share/plymouth/themes
cat pack_3/lone/lone.plymouth | sed "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth cat pack_3/lone/lone.plymouth | sed "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth
cat pack_3/motion/motion.plymouth | sed "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth cat pack_3/motion/motion.plymouth | sed "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth
cat pack_1/colorful_sliced/colorful_sliced.plymouth | sed "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth cat pack_1/colorful_sliced/colorful_sliced.plymouth | sed "s@\/usr\/@$out\/@" > $out/share/plymouth/themes/lone/lone.plymouth