GNU: Disable GRUB by default on ARM.
svn path=/nixos/trunk/; revision=25719
This commit is contained in:
parent
0513b31f73
commit
9d984837c9
@ -19,13 +19,15 @@ with pkgs.lib;
|
|||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
# TODO: Adjust `requiredPackages' from `system-path.nix'.
|
# TODO: Adjust `requiredPackages' from `system-path.nix'.
|
||||||
# TODO: Add Inetutils once it has the new `ifconfig'.
|
# TODO: Add Inetutils once it has the new `ifconfig'.
|
||||||
[ grub2 parted fdisk
|
[ parted fdisk
|
||||||
nano zile
|
nano zile
|
||||||
texinfo # for the stand-alone Info reader
|
texinfo # for the stand-alone Info reader
|
||||||
];
|
]
|
||||||
|
++ stdenv.lib.optional !stdenv.isArm grub2;
|
||||||
|
|
||||||
# GNU GRUB.
|
|
||||||
boot.loader.grub.enable = true;
|
# GNU GRUB, where available.
|
||||||
|
boot.loader.grub.enable = !stdenv.isArm;
|
||||||
boot.loader.grub.version = 2;
|
boot.loader.grub.version = 2;
|
||||||
|
|
||||||
# GNU lsh.
|
# GNU lsh.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user