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;