Skip to content

Latest commit

 

History

History
executable file
·
27 lines (21 loc) · 458 Bytes

boot.md

File metadata and controls

executable file
·
27 lines (21 loc) · 458 Bytes

Bootloader

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;