From 772c1a1a99b594176bd058cd09e884b3ce7b43ef Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Sun, 23 Aug 2026 23:04:19 +0100 Subject: [PATCH] nixos/limine: make efibootmgr inclusion conditional --- nixos/modules/system/boot/loader/limine/limine.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/loader/limine/limine.nix b/nixos/modules/system/boot/loader/limine/limine.nix index f84ff61e66fb6..aed21e726f982 100644 --- a/nixos/modules/system/boot/loader/limine/limine.nix +++ b/nixos/modules/system/boot/loader/limine/limine.nix @@ -11,7 +11,7 @@ let builtins.toJSON { inherit (config.system.nixos) distroName; nixPath = config.nix.package; - efiBootMgrPath = pkgs.efibootmgr; + efiBootMgrPath = if cfg.efiSupport then pkgs.efibootmgr else null; liminePath = cfg.package; efiMountPoint = efi.efiSysMountPoint; fileSystems = config.fileSystems;