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:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user