Merge pull request #120481 from lukegb/temp-ec2-fixed-disk

nixos/amazon-image: (temporarily) use fixed disk size again
This commit is contained in:
Luke Granger-Brown 2021-04-24 03:32:58 +01:00 committed by GitHub
commit d97478e369
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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