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:
commit
6c988a593a
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
boot = {
|
||||
grubDevice = "/dev/sda";
|
||||
loader.grub.device = "/dev/sda";
|
||||
copyKernels = true;
|
||||
bootMount = "(hd0,0)";
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
boot = {
|
||||
grubDevice = "/dev/sda";
|
||||
loader.grub.device = "/dev/sda";
|
||||
};
|
||||
|
||||
fileSystems = [
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{
|
||||
boot = {
|
||||
grubDevice = "/dev/sda";
|
||||
loader.grub.device = "/dev/sda";
|
||||
initrd = {
|
||||
kernelModules = ["usb_storage" "ehci_hcd" "ohci_hcd"];
|
||||
enableSplashScreen = false;
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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 {} [];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue