From b409fbb5f75617174fdb8e01dac0f17a32ae13b9 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 15 Aug 2025 22:42:56 +0000 Subject: [PATCH] systemd-boot: enable memtest and edk2 UEFI shell --- hosts/common/boot.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/common/boot.nix b/hosts/common/boot.nix index 397dc9d38..dc0afdd91 100644 --- a/hosts/common/boot.nix +++ b/hosts/common/boot.nix @@ -39,6 +39,10 @@ boot.loader.grub.enable = lib.mkDefault false; # boot.loader.generic-extlinux-compatible.enable = lib.mkDefault true; boot.loader.systemd-boot.enable = lib.mkDefault true; + boot.loader.systemd-boot.configurationLimit = lib.mkDefault 20; + boot.loader.systemd-boot.edk2-uefi-shell.enable = lib.mkDefault true; + boot.loader.systemd-boot.memtest86.enable = lib.mkDefault + (lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.memtest86plus); hardware.enableAllFirmware = true; # firmware with licenses that don't allow for redistribution. fuck lawyers, fuck IP, give me the goddamn firmware. # hardware.enableRedistributableFirmware = true; # proprietary but free-to-distribute firmware (extraneous to `enableAllFirmware` option)