Lack of laziness strikes again...
This commit is contained in:
parent
a8fa59aa73
commit
5c17d7d2a6
@ -23,7 +23,7 @@ in
|
|||||||
|
|
||||||
config = mkIf config.boot.loader.grub.memtest86 {
|
config = mkIf config.boot.loader.grub.memtest86 {
|
||||||
|
|
||||||
boot.loader.grub.extraEntries =
|
boot.loader.grub.extraEntries = mkFixStrictness (
|
||||||
if config.boot.loader.grub.version == 2 then
|
if config.boot.loader.grub.version == 2 then
|
||||||
''
|
''
|
||||||
menuentry "Memtest86+" {
|
menuentry "Memtest86+" {
|
||||||
@ -31,7 +31,7 @@ in
|
|||||||
}
|
}
|
||||||
''
|
''
|
||||||
else
|
else
|
||||||
throw "Memtest86+ is not supported with GRUB 1.";
|
throw "Memtest86+ is not supported with GRUB 1.");
|
||||||
|
|
||||||
boot.loader.grub.extraFiles."memtest.bin" = "${memtest86}/memtest.bin";
|
boot.loader.grub.extraFiles."memtest.bin" = "${memtest86}/memtest.bin";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user