nixos-config/modules/core/plymouth.nix

33 lines
707 B
Nix
Raw Normal View History

2025-07-26 19:06:05 +02:00
{
pkgs,
lib,
...
}:
{
# TODO: add https://github.com/FraioVeio/plymouth-xp-theme
boot = {
plymouth = {
enable = lib.mkDefault true;
2026-04-29 00:03:08 +02:00
theme = "nixos-centered";
themePackages = with pkgs; [
2026-04-29 00:03:08 +02:00
nixos-centered-plymouth
];
};
# 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
];
# 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
};
}