nixpkgs/modules/installer/cd-dvd/installation-cd-efi.nix
Eelco Dolstra 17457297cb Update all legacy-style modules
I.e., modules that use "require = [options]".  Nowadays that should be
written as

  {
    options = { ... };
    config = { ... };
  };

Also, use "imports" instead of "require" in places where we actually
import another module.
2013-09-04 13:05:09 +02:00

22 lines
628 B
Nix

{ config, pkgs, ... }:
{
imports = [ ./installation-cd-minimal.nix ];
boot.kernelPackages = pkgs.linuxPackages_3_9;
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
# Enable reading EFI variables via sysfs
# !!! Needing efivars will only be necessary until http://article.gmane.org/gmane.linux.kernel.efi/773 is merged
boot.initrd.kernelModules = [ "fbcon" "efivars" ];
# efi-related tools
environment.systemPackages = [ pkgs.efibootmgr ];
isoImage.makeEfiBootable = true;
}