* Add a Grub splash screen.
svn path=/nixos/trunk/; revision=10063
This commit is contained in:
parent
6ef8fe2a31
commit
fddddb3f35
|
@ -140,8 +140,9 @@ rec {
|
||||||
|
|
||||||
# The configuration file for Grub.
|
# The configuration file for Grub.
|
||||||
grubCfg = pkgs.writeText "menu.lst" ''
|
grubCfg = pkgs.writeText "menu.lst" ''
|
||||||
default=0
|
default 0
|
||||||
timeout=10
|
timeout 10
|
||||||
|
splashimage /boot/background.xpm.gz
|
||||||
|
|
||||||
title NixOS Installer / Rescue
|
title NixOS Installer / Rescue
|
||||||
kernel /boot/vmlinuz ${toString system.config.boot.kernelParams}
|
kernel /boot/vmlinuz ${toString system.config.boot.kernelParams}
|
||||||
|
@ -175,6 +176,12 @@ rec {
|
||||||
{ source = pkgs.memtest86 + "/memtest.bin";
|
{ source = pkgs.memtest86 + "/memtest.bin";
|
||||||
target = "boot/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;
|
{ source = cdMountPoints;
|
||||||
target = "/";
|
target = "/";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue