nixos/modules/boot.nix

22 lines
537 B
Nix
Executable file

{pkgs, config, lib, modulesPath, ...}:
{
boot = {
kernelPackages = pkgs.linuxPackages_latest;
blacklistedKernelModules = [ "nouveau" "lbm-nouveau" "pcspkr" ];
kernelParams = [ "fbcon=nodefer" "bgrt_disable" "quiet" "splash" ];
plymouth = {
enable = true;
theme = "breeze";
logo = ../images/nixos.png;
};
loader = {
systemd-boot = {
enable = true;
consoleMode = "max";
editor = false;
};
efi.canTouchEfiVariables = true;
timeout = 0;
};
};
}