2025-05-04 20:20:28 +02:00
|
|
|
{
|
2025-07-18 21:02:13 +02:00
|
|
|
pkgs,
|
2025-05-04 20:20:28 +02:00
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
{
|
|
|
|
|
boot = {
|
|
|
|
|
loader = {
|
2025-12-28 15:35:08 +01:00
|
|
|
timeout = 0;
|
2025-05-04 20:20:28 +02:00
|
|
|
systemd-boot = {
|
|
|
|
|
enable = true;
|
|
|
|
|
configurationLimit = 10;
|
2025-12-28 15:35:08 +01:00
|
|
|
consoleMode = "max"; # needed for plymouth
|
2025-05-04 20:20:28 +02:00
|
|
|
editor = true;
|
|
|
|
|
};
|
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
|
};
|
2025-12-28 15:35:08 +01:00
|
|
|
initrd = {
|
|
|
|
|
systemd.enable = true; # for a nice password prompt
|
|
|
|
|
verbose = false;
|
|
|
|
|
};
|
|
|
|
|
# Enable "Silent boot"
|
|
|
|
|
consoleLogLevel = 3;
|
|
|
|
|
kernelParams = [
|
|
|
|
|
"quiet"
|
|
|
|
|
"splash"
|
|
|
|
|
"boot.shell_on_fail"
|
|
|
|
|
"udev.log_priority=3"
|
|
|
|
|
"rd.systemd.show_status=auto"
|
|
|
|
|
];
|
2025-05-04 20:20:28 +02:00
|
|
|
plymouth = {
|
|
|
|
|
enable = true;
|
|
|
|
|
theme = "framework";
|
2025-07-18 21:02:13 +02:00
|
|
|
themePackages = [ pkgs.framework-plymouth ];
|
2025-05-04 20:20:28 +02:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|