Use systemd-boot EFI bootloader
{ config, pkgs, lib, ... }:
{
boot.loader = {
systemd-boot = {
enable = true;
# Remove old generation profiles to avoid
# have a full boot partition
configurationLimit = 20;
};
efi.canTouchEfiVariables = true;
};
<<<modules/system/boot>>>
}
Reduce timeout to 2 seconds
boot.loader.timeout = 2;