Merge pull request #120481 from lukegb/temp-ec2-fixed-disk
nixos/amazon-image: (temporarily) use fixed disk size again
commitd97478e369758e30b413c3247a01c41511672df2
authorLuke Granger-Brown <git@lukegb.com>
dateSat 24 Apr 2021, 03:32 (6 years ago)
parentbbffc436a8359a
nixos/maintainers/scripts/ec2/amazon-image.nix+2−1
@@ -41,7 +41,8 @@ in {
4141
4242 sizeMB = mkOption {
4343 type = with types; either (enum [ "auto" ]) int;
44− default = "auto";
44+ # TODO(lukegb): this should be "auto"; see #120473
45+ default = if config.ec2.hvm then 2048 else 8192;
4546 example = 8192;
4647 description = "The size in MB of the image";
4748 };