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 = {
|
boot = {
|
||||||
grubDevice = "/dev/sda";
|
loader.grub.device = "/dev/sda";
|
||||||
copyKernels = true;
|
copyKernels = true;
|
||||||
bootMount = "(hd0,0)";
|
bootMount = "(hd0,0)";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
boot = {
|
boot = {
|
||||||
grubDevice = "/dev/sda";
|
loader.grub.device = "/dev/sda";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems = [
|
fileSystems = [
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
boot = {
|
boot = {
|
||||||
grubDevice = "/dev/sda";
|
loader.grub.device = "/dev/sda";
|
||||||
initrd = {
|
initrd = {
|
||||||
kernelModules = ["usb_storage" "ehci_hcd" "ohci_hcd"];
|
kernelModules = ["usb_storage" "ehci_hcd" "ohci_hcd"];
|
||||||
enableSplashScreen = false;
|
enableSplashScreen = false;
|
||||||
|
|
|
@ -118,7 +118,7 @@ $ nixos-option --install</screen>
|
||||||
|
|
||||||
<para>You need to specify a root file system in
|
<para>You need to specify a root file system in
|
||||||
<option>fileSystems</option> and the target device for the Grub boot
|
<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
|
<xref linkend="ch-options"/> for a list of the available configuration
|
||||||
options.</para>
|
options.</para>
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,6 @@ with pkgs.lib;
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.loader.grub.device = mkOverrideTemplate 0 {} "nodev";
|
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.children = mkOverrideTemplate 0 {} [];
|
||||||
nesting.clone = mkOverrideTemplate 0 {} [];
|
nesting.clone = mkOverrideTemplate 0 {} [];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue