mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
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;
|
||||
# TODO: Adjust `requiredPackages' from `system-path.nix'.
|
||||
# TODO: Add Inetutils once it has the new `ifconfig'.
|
||||
[ grub2 parted fdisk
|
||||
[ parted fdisk
|
||||
nano zile
|
||||
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;
|
||||
|
||||
# GNU lsh.
|
||||
|
|
Loading…
Reference in a new issue