2024-06-14 18:04:21 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
boot = {
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
|
2024-06-21 18:54:38 +02:00
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
|
|
loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
|
|
|
|
2024-06-14 18:04:21 +02:00
|
|
|
initrd = {
|
|
|
|
verbose = false;
|
|
|
|
systemd.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Enable silent boot
|
|
|
|
consoleLogLevel = 3;
|
|
|
|
kernelParams = [
|
|
|
|
"quiet"
|
|
|
|
"splash"
|
|
|
|
"systemd.show_status=auto" # suppress successful messages
|
|
|
|
"rd.udev.log_level=3" # stop systemd from printing its version
|
|
|
|
];
|
|
|
|
|
|
|
|
plymouth.enable = true;
|
|
|
|
};
|
|
|
|
}
|