diff options
author | Luke Granger-Brown <git@lukegb.com> | 2021-04-24 02:38:36 +0000 |
---|---|---|
committer | Luke Granger-Brown <git@lukegb.com> | 2021-04-24 02:38:36 +0000 |
commit | 4fb91cbafe6fd51d2c23bb15e0d5aae61143b6a9 (patch) | |
tree | 3d74e65641af7f18140452cbc72def8f15fde0e2 /nixos/modules/virtualisation/hyperv-image.nix | |
parent | f521b12b0ed0a5ec96153542bea5705cb1a2b470 (diff) | |
download | nixpkgs-4fb91cbafe6fd51d2c23bb15e0d5aae61143b6a9.tar nixpkgs-4fb91cbafe6fd51d2c23bb15e0d5aae61143b6a9.tar.gz nixpkgs-4fb91cbafe6fd51d2c23bb15e0d5aae61143b6a9.tar.bz2 nixpkgs-4fb91cbafe6fd51d2c23bb15e0d5aae61143b6a9.tar.lz nixpkgs-4fb91cbafe6fd51d2c23bb15e0d5aae61143b6a9.tar.xz nixpkgs-4fb91cbafe6fd51d2c23bb15e0d5aae61143b6a9.tar.zst nixpkgs-4fb91cbafe6fd51d2c23bb15e0d5aae61143b6a9.zip |
Revert "treewide: use auto diskSize for make-disk-image"
This reverts commit f3aa040bcbf39935e7e9ac7a7296eac9da7623ec.
Diffstat (limited to 'nixos/modules/virtualisation/hyperv-image.nix')
-rw-r--r-- | nixos/modules/virtualisation/hyperv-image.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/virtualisation/hyperv-image.nix b/nixos/modules/virtualisation/hyperv-image.nix index 6845d675009..fabc9113dfc 100644 --- a/nixos/modules/virtualisation/hyperv-image.nix +++ b/nixos/modules/virtualisation/hyperv-image.nix @@ -9,9 +9,8 @@ in { options = { hyperv = { baseImageSize = mkOption { - type = with types; either (enum [ "auto" ]) int; - default = "auto"; - example = 2048; + type = types.int; + default = 2048; description = '' The size of the hyper-v base image in MiB. ''; |