1
0
Fork 1
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:
Marc Weber 2013-04-10 23:49:59 +02:00
parent a215600335
commit 9bf073b58b
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 {} [];
}