feat(adrastea): add plymouth boot sequence

This commit is contained in:
Youwen Wu 2024-11-06 23:24:31 -08:00
parent 8edcef708b
commit 9bd724612e
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -15,17 +15,48 @@
]; ];
# Bootloader. # Bootloader.
boot.loader = {
efi.canTouchEfiVariables = true; boot = {
timeout = 15; plymouth = {
# Lanzaboote currently replaces the systemd-boot module.
# This setting is usually set to true in configuration.nix
# generated at installation time. So we force it to false
# for now.
systemd-boot = {
enable = true; enable = true;
consoleMode = "auto"; # theme = "rings";
# themePackages = with pkgs; [
# # By default we would install all themes
# (adi1090x-plymouth-themes.override {
# selected_themes = [ "rings" ];
# })
# ];
}; };
# Enable "Silent Boot"
consoleLogLevel = 0;
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
# 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 = {
efi.canTouchEfiVariables = true;
# timeout = 15;
# Lanzaboote currently replaces the systemd-boot module.
# This setting is usually set to true in configuration.nix
# generated at installation time. So we force it to false
# for now.
# timeout = 0;
systemd-boot = {
enable = true;
consoleMode = "auto";
};
};
initrd.systemd.enable = true;
}; };
# boot.lanzaboote = { # boot.lanzaboote = {