nix-config/modules/nixos/plymouth.nix
2026-09-07 01:14:51 +02:00

32 lines
783 B
Nix

# https://wiki.nixos.org/wiki/Plymouth
{ flake, pkgs, ... }:
{
boot = {
plymouth = {
enable = true;
theme = "moritz";
themePackages = [
flake.packages.${pkgs.stdenv.hostPlatform.system}.plymouth-theme
];
};
# Enable "Silent boot"
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
"quiet"
"rd.udev.log_level=3"
"rd.systemd.show_status=auto"
];
# 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 = 0;
};
}
# Remember
# https://github.com/SergioRibera/s4rchiso-plymouth-theme
# https://github.com/helsinki-systems/plymouth-theme-nixos-bgrt