Merge pull request #238822 from SuperSandro2000/grub-1-removal

nixos/grub: remove grub 1 from descriptions
This commit is contained in:
Jörg Thalheim 2023-06-21 09:21:04 +01:00 committed by GitHub
commit 7b697d9698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -352,10 +352,6 @@ in
default = "";
type = types.lines;
example = ''
# GRUB 1 example (not GRUB 2 compatible)
title Windows
chainloader (hd0,1)+1
# GRUB 2 example
menuentry "Windows 7" {
chainloader (hd0,4)+1
@ -410,14 +406,6 @@ in
Set to `null` to run GRUB in text mode.
::: {.note}
For grub 1:
It must be a 640x480,
14-colour image in XPM format, optionally compressed with
{command}`gzip` or {command}`bzip2`.
:::
::: {.note}
For grub 2:
File must be one of .png, .tga, .jpg, or .jpeg. JPEG images must
not be progressive.
The image will be scaled if necessary to fit the screen.
@ -431,10 +419,6 @@ in
default = null;
description = lib.mdDoc ''
Background color to be used for GRUB to fill the areas the image isn't filling.
::: {.note}
This options has no effect for GRUB 1.
:::
'';
};
@ -443,10 +427,6 @@ in
type = types.nullOr types.str;
description = lib.mdDoc ''
Options applied to the primary NixOS menu entry.
::: {.note}
This options has no effect for GRUB 1.
:::
'';
};
@ -455,10 +435,6 @@ in
type = types.nullOr types.str;
description = lib.mdDoc ''
Options applied to the secondary NixOS submenu entry.
::: {.note}
This options has no effect for GRUB 1.
:::
'';
};
@ -468,10 +444,6 @@ in
default = null;
description = lib.mdDoc ''
Grub theme to be used.
::: {.note}
This options has no effect for GRUB 1.
:::
'';
};
@ -480,10 +452,6 @@ in
default = "stretch";
description = lib.mdDoc ''
Whether to stretch the image or show the image in the top-left corner unstretched.
::: {.note}
This options has no effect for GRUB 1.
:::
'';
};
@ -592,8 +560,6 @@ in
type = types.bool;
description = lib.mdDoc ''
Whether GRUB should be built against libzfs.
ZFS support is only available for GRUB v2.
This option is ignored for GRUB v1.
'';
};
@ -602,8 +568,6 @@ in
type = types.bool;
description = lib.mdDoc ''
Whether GRUB should be built with EFI support.
EFI support is only available for GRUB v2.
This option is ignored for GRUB v1.
'';
};