Restore old installation-cd-new-kernel.nix and create a new installation-cd-efi.nix
svn path=/nixos/trunk/; revision=33146
This commit is contained in:
parent
95bec1c001
commit
a315eefca1
|
@ -0,0 +1,22 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
require = [ ./installation-cd-graphical.nix ];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_3_3;
|
||||
boot.vesa = false;
|
||||
|
||||
# What follows should probably move into base once the base kernel has the
|
||||
# efi boot stub
|
||||
|
||||
# Get a console as soon as the initrd loads fbcon on EFI boot
|
||||
boot.initrd.kernelModules = [ "fbcon" ];
|
||||
|
||||
# Enable reading EFI variables via sysfs
|
||||
boot.kernelModules = [ "efivars" ];
|
||||
|
||||
# efi-related tools
|
||||
environment.systemPackages = [ pkgs.efibootmgr ];
|
||||
|
||||
isoImage.makeEfiBootable = true;
|
||||
}
|
|
@ -3,20 +3,6 @@
|
|||
{
|
||||
require = [ ./installation-cd-graphical.nix ];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_3_3;
|
||||
boot.kernelPackages = pkgs.linuxPackages_3_2;
|
||||
boot.vesa = false;
|
||||
|
||||
# What follows should probably move into base once the base kernel has the
|
||||
# efi boot stub
|
||||
|
||||
# Get a console as soon as the initrd loads fbcon on EFI boot
|
||||
boot.initrd.kernelModules = [ "fbcon" ];
|
||||
|
||||
# Enable reading EFI variables via sysfs
|
||||
boot.kernelModules = [ "efivars" ];
|
||||
|
||||
# efi-related tools
|
||||
environment.systemPackages = [ pkgs.efibootmgr ];
|
||||
|
||||
isoImage.makeEfiBootable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue