nixos/release: drop amazonImageAutomaticSize

This was added to test https://github.com/NixOS/nixpkgs/issues/121354
almost 4 years ago, but does not seem to be in actual use anymore.

At least I couldn't find a use and @arianvp, the amazon images
maintainer does not know about one either.

phaer 263e266c b2b07180

Changed files
-26
nixos
-26
nixos/release.nix
···
);
-
# Test job for https://github.com/NixOS/nixpkgs/issues/121354 to test
-
# automatic sizing without blocking the channel.
-
amazonImageAutomaticSize = forMatchingSystems [ "x86_64-linux" "aarch64-linux" ] (
-
system:
-
-
with import ./.. { inherit system; };
-
-
hydraJob (
-
(import lib/eval-config.nix {
-
inherit system;
-
modules = [
-
configuration
-
versionModule
-
./maintainers/scripts/ec2/amazon-image.nix
-
(
-
{ ... }:
-
{
-
virtualisation.diskSize = "auto";
-
}
-
)
-
];
-
}).config.system.build.amazonImage
-
)
-
-
);
-
# An image that can be imported into incus and used for container creation
incusContainerImage =
forMatchingSystems