nixos/grub: use new combined memtest86plus binary

memtest86plus puts the path to the binary at a passthru attr

after memtest86plus 8 there's a single combined EFI+legacy file
This commit is contained in:
Luna Nova
2025-11-27 13:19:24 +03:00
committed by K900
parent ecd178363a
commit 48a6b898ae
2 changed files with 2 additions and 2 deletions
@@ -472,7 +472,7 @@ in
type = types.attrsOf types.path;
default = { };
example = literalExpression ''
{ "memtest.bin" = "''${pkgs.memtest86plus}/memtest.bin"; }
{ "memtest.bin" = pkgs.memtest86plus.efi; }
'';
description = ''
A set of files to be copied to {file}`/boot`.
@@ -69,6 +69,6 @@ in
linux @bootRoot@/memtest.bin ${toString cfg.params}
}
'';
boot.loader.grub.extraFiles."memtest.bin" = "${memtest86}/memtest.bin";
boot.loader.grub.extraFiles."memtest.bin" = memtest86.efi;
};
}