30 lines
569 B
Nix
30 lines
569 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
# set bootloader to systemd
|
|
boot.loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
# enable systemd initrd
|
|
boot.initrd.systemd.enable = true;
|
|
|
|
# plymouth
|
|
boot.plymouth = {
|
|
enable = true;
|
|
theme = "spinner";
|
|
};
|
|
|
|
# kernel options
|
|
boot.kernelParams = [ "quiet" "acpi.debug_level=0"];
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
boot.consoleLogLevel = 2;
|
|
|
|
# Add boot-related packages
|
|
environment.systemPackages = with pkgs; [
|
|
efibootmgr
|
|
terminus_font
|
|
];
|
|
}
|