summary refs log tree commit diff
path: root/nixos/maintainers/scripts/ec2/amazon-image.nix
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2021-04-24 02:38:25 +0000
committerLuke Granger-Brown <git@lukegb.com>2021-04-24 02:38:25 +0000
commitf521b12b0ed0a5ec96153542bea5705cb1a2b470 (patch)
tree8612cb755f14f7bbcc01a3f4389a21cee81f4f17 /nixos/maintainers/scripts/ec2/amazon-image.nix
parentd97478e369758e30b413c3247a01c41511672df2 (diff)
downloadnixpkgs-f521b12b0ed0a5ec96153542bea5705cb1a2b470.tar
nixpkgs-f521b12b0ed0a5ec96153542bea5705cb1a2b470.tar.gz
nixpkgs-f521b12b0ed0a5ec96153542bea5705cb1a2b470.tar.bz2
nixpkgs-f521b12b0ed0a5ec96153542bea5705cb1a2b470.tar.lz
nixpkgs-f521b12b0ed0a5ec96153542bea5705cb1a2b470.tar.xz
nixpkgs-f521b12b0ed0a5ec96153542bea5705cb1a2b470.tar.zst
nixpkgs-f521b12b0ed0a5ec96153542bea5705cb1a2b470.zip
Revert "nixos/amazon-image: (temporarily) use fixed disk size again"
This reverts commit 6a8359a92ab501ae62739e9d3302f48e3e73c750.
Diffstat (limited to 'nixos/maintainers/scripts/ec2/amazon-image.nix')
-rw-r--r--nixos/maintainers/scripts/ec2/amazon-image.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/maintainers/scripts/ec2/amazon-image.nix b/nixos/maintainers/scripts/ec2/amazon-image.nix
index b05467fb9b8..653744986d1 100644
--- a/nixos/maintainers/scripts/ec2/amazon-image.nix
+++ b/nixos/maintainers/scripts/ec2/amazon-image.nix
@@ -41,8 +41,7 @@ in {
 
     sizeMB = mkOption {
       type = with types; either (enum [ "auto" ]) int;
-      # TODO(lukegb): this should be "auto"; see #120473
-      default = if config.ec2.hvm then 2048 else 8192;
+      default = "auto";
       example = 8192;
       description = "The size in MB of the image";
     };