nix/modules/boot/plymouth.nix
2026-08-26 03:57:23 +02:00

25 lines
No EOL
702 B
Nix

{pkgs,...}:
{
boot.consoleLogLevel = 3;
boot.initrd.verbose = false;
boot.kernelParams = [
"quiet"
"udev.log_priority=3"
"rd.udev.log_level=3"
"rd.systemd.show_status=auto"
];
boot.plymouth = {
enable = true;
theme = "bgrt";
package = pkgs.plymouth.overrideAttrs (old: {
postInstall = (old.postInstall or "") + ''
sed -i \
-e 's/DialogClearsFirmwareBackground=true/DialogClearsFirmwareBackground=false/' \
-e 's/DialogVerticalAlignment=.382/DialogVerticalAlignment=.55/' \
-e 's/TitleVerticalAlignment=.382/TitleVerticalAlignment=.55/' \
$out/share/plymouth/themes/bgrt/bgrt.plymouth
'';
});
};
}