mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
17457297cb
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.
22 lines
628 B
Nix
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;
|
|
}
|