diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 0f9142990ec1..6b42058a8926 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -386,9 +386,6 @@ if ($showHardwareConfig) { boot.loader.grub.enable = false; boot.loader.gummiboot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - # !!! Remove this when nixos is on 3.10 or greater by default - # EFI booting requires kernel >= 3.10 - boot.kernelPackages = pkgs.linuxPackages_3_10; EOF } else { $bootLoaderConfig = < ]; - boot.kernelPackages = pkgs.linuxPackages_3_10; boot.loader.grub.enable = false; boot.loader.efi.canTouchEfiVariables = true; boot.loader.gummiboot.enable = true;