From 4061c18c9878ca4b97a0e97debd5c533fc1422ff Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 27 Aug 2014 03:26:40 -0400 Subject: [PATCH] Revert "grub: removed orphaned mkOption configurationName" The configurationName option value is still used by NixOS, this removal breaks grub users. This reverts commit bd811d32b4b194b9e551a66069641a76bd8eab58. --- nixos/modules/system/boot/loader/grub/grub.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix index 721e8f21cce5..0cc060db8f90 100644 --- a/nixos/modules/system/boot/loader/grub/grub.nix +++ b/nixos/modules/system/boot/loader/grub/grub.nix @@ -86,6 +86,15 @@ in ''; }; + configurationName = mkOption { + default = ""; + example = "Stable 2.6.21"; + type = types.str; + description = '' + GRUB entry name instead of default. + ''; + }; + extraPrepareConfig = mkOption { default = ""; type = types.lines;