revamp of structure

This commit is contained in:
strix 2026-08-26 03:57:23 +02:00
parent 275586f9c2
commit b5365e6ab3
26 changed files with 383 additions and 393 deletions

25
modules/boot/plymouth.nix Normal file
View file

@ -0,0 +1,25 @@
{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
'';
});
};
}