From c76bac866f3d823ac2b791d6e2f090f6eb01076a Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Wed, 3 Aug 2022 18:13:56 +0000
Subject: [PATCH] Trim down the QEMU build

Refs #88
---
 morph/lib/default.nix | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/morph/lib/default.nix b/morph/lib/default.nix
index c99c19a5..e5b1268e 100644
--- a/morph/lib/default.nix
+++ b/morph/lib/default.nix
@@ -33,7 +33,12 @@
     # the package set only needs to be evaluted once for the grid, rather
     # than once for each host.
     overlays = [
-      (self: super: { ourpkgs = self.callPackage ../../nixos/pkgs {}; })
+      (self: super: {
+        ourpkgs = self.callPackage ../../nixos/pkgs {};
+        qemu = super.qemu.override {
+          nixosTestRunner = true; # turns off GUI and audio
+        };
+      })
     ];
   };
 }
-- 
GitLab