2025-07-26 19:06:05 +02:00
|
|
|
{
|
|
|
|
|
pkgs,
|
|
|
|
|
lib,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
{
|
|
|
|
|
# TODO: add https://github.com/FraioVeio/plymouth-xp-theme
|
2025-07-27 00:41:43 +02:00
|
|
|
boot = {
|
|
|
|
|
plymouth = {
|
|
|
|
|
enable = lib.mkDefault true;
|
2026-04-29 00:03:08 +02:00
|
|
|
theme = "nixos-centered";
|
2025-07-27 00:41:43 +02:00
|
|
|
themePackages = with pkgs; [
|
2026-04-29 00:03:08 +02:00
|
|
|
nixos-centered-plymouth
|
2025-07-27 00:41:43 +02:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Enable "Silent boot"
|
|
|
|
|
consoleLogLevel = 3;
|
|
|
|
|
initrd.verbose = false;
|
|
|
|
|
kernelParams = [
|
|
|
|
|
"quiet"
|
|
|
|
|
"splash"
|
|
|
|
|
"boot.shell_on_fail"
|
|
|
|
|
"udev.log_priority=3"
|
|
|
|
|
"rd.systemd.show_status=auto"
|
2025-07-26 19:06:05 +02:00
|
|
|
];
|
2025-07-27 00:41:43 +02:00
|
|
|
# Hide the OS choice for bootloaders.
|
|
|
|
|
# It's still possible to open the bootloader list by pressing any key
|
|
|
|
|
# It will just not appear on screen unless a key is pressed
|
|
|
|
|
loader.timeout = 1;
|
2025-07-26 19:06:05 +02:00
|
|
|
};
|
|
|
|
|
}
|