1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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:
Shea Levy 2012-03-16 11:22:05 +00:00
parent 95bec1c001
commit a315eefca1
2 changed files with 23 additions and 15 deletions

View file

@ -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;
}

View file

@ -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;
}