From 36430fbb1421b3b6e03de32dc150b1227de1beea Mon Sep 17 00:00:00 2001 From: Jake Schurch Date: Wed, 2 Aug 2023 14:56:07 -0400 Subject: 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 --- nixos/modules/virtualisation/proxmox-image.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'nixos') 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 { -- cgit 1.4.1