From fddddb3f35a71b0ac8d8980f2187636d8363accd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 3 Jan 2008 17:07:28 +0000 Subject: [PATCH] * Add a Grub splash screen. svn path=/nixos/trunk/; revision=10063 --- configuration/rescue-cd.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configuration/rescue-cd.nix b/configuration/rescue-cd.nix index 90278a375e9d..433c137156e3 100644 --- a/configuration/rescue-cd.nix +++ b/configuration/rescue-cd.nix @@ -140,8 +140,9 @@ rec { # The configuration file for Grub. grubCfg = pkgs.writeText "menu.lst" '' - default=0 - timeout=10 + default 0 + timeout 10 + splashimage /boot/background.xpm.gz title NixOS Installer / Rescue kernel /boot/vmlinuz ${toString system.config.boot.kernelParams} @@ -175,6 +176,12 @@ rec { { source = pkgs.memtest86 + "/memtest.bin"; target = "boot/memtest.bin"; } + { source = pkgs.fetchurl { + url = http://www.gnome-look.org/CONTENT/content-files/36909-soft-tux.xpm.gz; + sha256 = "14kqdx2lfqvh40h6fjjzqgff1mwk74dmbjvmqphi6azzra7z8d59"; + }; + target = "boot/background.xpm.gz"; + } { source = cdMountPoints; target = "/"; }