From a6f96f4689a94d4a000cb69d144abd29a0508fc3 Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Sun, 26 Apr 2026 10:30:57 +0800 Subject: [PATCH 1/2] limine: 11.4.1 -> 12.0.2 --- pkgs/by-name/li/limine/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/limine/package.nix b/pkgs/by-name/li/limine/package.nix index 62b4709f3a0f..184e64700b66 100644 --- a/pkgs/by-name/li/limine/package.nix +++ b/pkgs/by-name/li/limine/package.nix @@ -47,14 +47,14 @@ in # as bootloader for various platforms and corresponding binary and helper files. stdenv.mkDerivation (finalAttrs: { pname = "limine"; - version = "11.4.1"; + version = "12.0.2"; # We don't use the Git source but the release tarball, as the source has a # `./bootstrap` script performing network access to download resources. # Packaging that in Nix is very cumbersome. src = fetchurl { url = "https://github.com/Limine-Bootloader/Limine/releases/download/v${finalAttrs.version}/limine-${finalAttrs.version}.tar.gz"; - hash = "sha256-sTmjVVhOb2EOhohW/SMJgrM8HT5t6afq1ekv+6eZNuY="; + hash = "sha256-bHHBqQrQLY0J+8RkfS9qsyRGk4fw21xsb0nB2HVkKwg="; }; enableParallelBuilding = true; From bea3efecfa326a7d90215e51fa234258a220838f Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Sun, 26 Apr 2026 10:50:26 +0800 Subject: [PATCH 2/2] nixos/limine: disable editor for secure boot --- nixos/modules/system/boot/loader/limine/limine.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/system/boot/loader/limine/limine.nix b/nixos/modules/system/boot/loader/limine/limine.nix index 0cc217f537b9..62687e741638 100644 --- a/nixos/modules/system/boot/loader/limine/limine.nix +++ b/nixos/modules/system/boot/loader/limine/limine.nix @@ -455,6 +455,10 @@ in assertion = cfg.efiSupport; message = "Secure boot is only supported on EFI systems."; } + { + assertion = !cfg.enableEditor; + message = "Editor is unconditionally disabled by Limine."; + } ]; boot.loader.limine.enrollConfig = true;