diff options
author | Artturi <Artturin@artturin.com> | 2022-05-12 01:38:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 01:38:24 +0300 |
commit | c7b10b6df9f3d2b1c9833db13aa53d9973b0f030 (patch) | |
tree | 14eabcd720fa5ba0dcbd651e5d6235eda9767a0a /nixos | |
parent | f324030ab64a09df60b7b4750df57686e62cda9a (diff) | |
parent | 35cfe2c29c96d93b4430c59983361c61aaf002ae (diff) |
Merge pull request #172131 from euank/ena-2.7.1
ena: 2.5.0 -> 2.7.1 & nixos/amazon-image: default to 5.15 kernel
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/virtualisation/amazon-image.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix index 9a56b6950155b..12fe6fa444793 100644 --- a/nixos/modules/virtualisation/amazon-image.nix +++ b/nixos/modules/virtualisation/amazon-image.nix @@ -37,13 +37,11 @@ in { assertion = cfg.efi -> cfg.hvm; message = "EC2 instances using EFI must be HVM instances."; } - { assertion = versionOlder config.boot.kernelPackages.kernel.version "5.15"; - message = "ENA driver fails to build with kernel >= 5.15"; + { assertion = versionOlder config.boot.kernelPackages.kernel.version "5.17"; + message = "ENA driver fails to build with kernel >= 5.17"; } ]; - boot.kernelPackages = pkgs.linuxKernel.packages.linux_5_10; - boot.growPartition = cfg.hvm; fileSystems."/" = mkIf (!cfg.zfs.enable) { |