about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-09-09 11:45:16 +0200
committerGitHub <noreply@github.com>2022-09-09 11:45:16 +0200
commitb41f6fe5814876581976c58ac34e08ba37edf2c7 (patch)
tree394a0ba0f2ef21b87b2ced4ea5bed0e3aff4c19d /nixos
parentf85a63e3c935e2e46438bd1162c621a99508c3cd (diff)
parente7ec55a72d751b1e9583f854f236e266f9cf4d72 (diff)
downloadnixlib-b41f6fe5814876581976c58ac34e08ba37edf2c7.tar
nixlib-b41f6fe5814876581976c58ac34e08ba37edf2c7.tar.gz
nixlib-b41f6fe5814876581976c58ac34e08ba37edf2c7.tar.bz2
nixlib-b41f6fe5814876581976c58ac34e08ba37edf2c7.tar.lz
nixlib-b41f6fe5814876581976c58ac34e08ba37edf2c7.tar.xz
nixlib-b41f6fe5814876581976c58ac34e08ba37edf2c7.tar.zst
nixlib-b41f6fe5814876581976c58ac34e08ba37edf2c7.zip
Merge pull request #189957 from illustris/proxmox-vm
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/proxmox-image.nix22
1 files changed, 21 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/proxmox-image.nix b/nixos/modules/virtualisation/proxmox-image.nix
index 7a6bfef44d28..4fca8ce9e7eb 100644
--- a/nixos/modules/virtualisation/proxmox-image.nix
+++ b/nixos/modules/virtualisation/proxmox-image.nix
@@ -127,8 +127,28 @@ with lib;
       name = "proxmox-${cfg.filenameSuffix}";
       postVM = let
         # Build qemu with PVE's patch that adds support for the VMA format
-        vma = pkgs.qemu_kvm.overrideAttrs ( super: rec {
+        vma = (pkgs.qemu_kvm.override {
+          alsaSupport = false;
+          pulseSupport = false;
+          sdlSupport = false;
+          jackSupport = false;
+          gtkSupport = false;
+          vncSupport = false;
+          smartcardSupport = false;
+          spiceSupport = false;
+          ncursesSupport = false;
+          libiscsiSupport = false;
+          tpmSupport = false;
+          numaSupport = false;
+          seccompSupport = false;
+          guestAgentSupport = false;
+        }).overrideAttrs ( super: rec {
 
+          version = "7.0.0";
+          src = pkgs.fetchurl {
+            url= "https://download.qemu.org/qemu-${version}.tar.xz";
+            sha256 = "sha256-9rN1x5UfcoQCeYsLqrsthkeMpT1Eztvvq74cRr9G+Dk=";
+          };
           patches = [
             (pkgs.fetchpatch {
               url =