28 lines
516 B
Nix
28 lines
516 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" "loglevel=2" ];
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
# Add boot-related packages
|
|
environment.systemPackages = with pkgs; [
|
|
efibootmgr
|
|
];
|
|
}
|