mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
s/boot.grubDevice/boot.loader.grub.device/ to shut down warnings
This commit is contained in:
parent
a215600335
commit
9bf073b58b
|
@ -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