fix(vm): fix Plymouth theme path and optimize VM graphics for splash screen

This commit is contained in:
Bernardo Magri
2026-04-05 12:41:21 +01:00
parent 34c87d21ef
commit 2afd5eaa36
2 changed files with 6 additions and 3 deletions

View File

@@ -10,9 +10,8 @@ let
installPhase = ''
mkdir -p $out/share/plymouth/themes/nomarchy
cp * $out/share/plymouth/themes/nomarchy/
# Fix path in the plymouth file to point to the nix store if needed,
# but usually Plymouth looks in its theme dir.
sed -i "s|/etc/plymouth/themes/nomarchy|$out/share/plymouth/themes/nomarchy|g" $out/share/plymouth/themes/nomarchy/nomarchy.plymouth
# Fix path in the plymouth file to point to the nix store
sed -i "s|/[a-z]*/share/plymouth/themes/nomarchy|$out/share/plymouth/themes/nomarchy|g" $out/share/plymouth/themes/nomarchy/nomarchy.plymouth
'';
};
in