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 = <<EOF; diff --git a/nixos/tests/efi-installer.nix b/nixos/tests/efi-installer.nix index 63aa0289ffbe..990f2b84a6c9 100644 --- a/nixos/tests/efi-installer.nix +++ b/nixos/tests/efi-installer.nix @@ -38,7 +38,6 @@ let config = builtins.toFile "configuration.nix" '' { pkgs, ... }: { imports = [ ./hardware-configuration.nix <nixos/modules/testing/test-instrumentation.nix> ]; - boot.kernelPackages = pkgs.linuxPackages_3_10; boot.loader.grub.enable = false; boot.loader.efi.canTouchEfiVariables = true; boot.loader.gummiboot.enable = true;