Browse Source

amazonImage: make statically sized again

For reasons we haven't been able to work out, the aarch64 EC2 image now
regularly exceeds the output image size on hydra.nixos.org. As a
workaround, set this back to being statically sized again.

The other images do seem to build - it's just a case of the EC2 image
now being too large (occasionally non-determinstically).
nsd-state-dir
Luke Granger-Brown 1 year ago
parent
commit
87c3b7e767
  1. 2
      nixos/maintainers/scripts/ec2/amazon-image.nix

2
nixos/maintainers/scripts/ec2/amazon-image.nix

@ -41,7 +41,7 @@ in {
sizeMB = mkOption {
type = with types; either (enum [ "auto" ]) int;
default = "auto";
default = if config.ec2.hvm then 2048 else 8192;
example = 8192;
description = "The size in MB of the image";
};

Loading…
Cancel
Save