3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #136 from MarcWeber/submit/grubDevice

s/boot.grubDevice/boot.loader.grub.device/ to shut down warnings
This commit is contained in:
Phreedom 2013-05-05 07:41:22 -07:00
commit 6c988a593a
5 changed files with 4 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{
boot = {
grubDevice = "/dev/sda";
loader.grub.device = "/dev/sda";
copyKernels = true;
bootMount = "(hd0,0)";
};

View file

@ -1,6 +1,6 @@
{
boot = {
grubDevice = "/dev/sda";
loader.grub.device = "/dev/sda";
};
fileSystems = [

View file

@ -2,7 +2,7 @@
{
boot = {
grubDevice = "/dev/sda";
loader.grub.device = "/dev/sda";
initrd = {
kernelModules = ["usb_storage" "ehci_hcd" "ohci_hcd"];
enableSplashScreen = false;

View file

@ -118,7 +118,7 @@ $ nixos-option --install</screen>
<para>You need to specify a root file system in
<option>fileSystems</option> and the target device for the Grub boot
loader in <option>boot.grubDevice</option>. See
loader in <option>boot.loader.grub.device</option>. See
<xref linkend="ch-options"/> for a list of the available configuration
options.</para>

View file

@ -6,8 +6,6 @@ with pkgs.lib;
{
boot.loader.grub.device = mkOverrideTemplate 0 {} "nodev";
# undefined the obsolete name of the previous option.
boot.grubDevice = mkOverrideTemplate 0 {} pkgs.lib.mkNotdef;
nesting.children = mkOverrideTemplate 0 {} [];
nesting.clone = mkOverrideTemplate 0 {} [];
}