about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJake Schurch <jakeschurch@gmail.com>2023-08-02 14:56:07 -0400
committerJake Schurch <jakeschurch@gmail.com>2023-08-02 15:01:44 -0400
commit36430fbb1421b3b6e03de32dc150b1227de1beea (patch)
tree12b35aa9f192380d2b9b0ea19dde6a08cc1199b3 /nixos
parent53b289836b041a1e05d833e91065e4346f9a2de0 (diff)
revert(proxmox-image): pull request #246120 from jakeschurch/add-proxmox-image-addl-disk-size-override
NOTES:

@jakeschurch did not realize that is was already updated on master, but not
backported to 23.05 channel

Signed-off-by: Jake Schurch <jakeschurch@gmail.com>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/proxmox-image.nix10
1 files changed, 1 insertions, 9 deletions
diff --git a/nixos/modules/virtualisation/proxmox-image.nix b/nixos/modules/virtualisation/proxmox-image.nix
index 8cb03fb91ad5a..62778f2626f8e 100644
--- a/nixos/modules/virtualisation/proxmox-image.nix
+++ b/nixos/modules/virtualisation/proxmox-image.nix
@@ -147,14 +147,6 @@ with lib;
       defaultText = lib.literalExpression ''if config.proxmox.qemuConf.bios == "seabios" then "legacy" else "efi"'';
       example = "hybrid";
     };
-    additionalSpace = mkOption {
-      type = types.str;
-      default = "512M";
-      description = lib.mdDoc ''
-        Additional disk space to be added to the image.
-        Defaults to 512M (Megabytes), Suffix can also be specified with `G` (gigabyte) or `K` (kilobyte).
-        '';
-    };
     filenameSuffix = mkOption {
       type = types.str;
       default = config.proxmox.qemuConf.name;
@@ -205,7 +197,7 @@ with lib;
     ];
     system.build.VMA = import ../../lib/make-disk-image.nix {
       name = "proxmox-${cfg.filenameSuffix}";
-      inherit (cfg) partitionTableType additionalSpace;
+      inherit (cfg) partitionTableType;
       postVM = let
         # Build qemu with PVE's patch that adds support for the VMA format
         vma = (pkgs.qemu_kvm.override {