From 900104fc52033dee8ff3f13213f80f24e3e7c0c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 20 Jun 2023 22:34:25 +0200 Subject: [PATCH] nixos/grub: remove grub 1 from descriptions --- .../modules/system/boot/loader/grub/grub.nix | 36 ------------------- 1 file changed, 36 deletions(-) diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix index 9f80b40d116c..b57e343d2ac2 100644 --- a/nixos/modules/system/boot/loader/grub/grub.nix +++ b/nixos/modules/system/boot/loader/grub/grub.nix @@ -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. ''; };