Daniel Lundin
c59ea29957
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
We want verity protected partitions as well as encrypted state/data along with verified boot. This PR integrates Peter Marshall's awesome little Nixlet project as a starting point, especially the nice testing scaffolding will be super helpful! ✨ https://github.com/petm5/nixlet/
30 lines
759 B
Nix
30 lines
759 B
Nix
{ prev, pkgs, ... }:
|
|
|
|
(prev.qemu_test.override {
|
|
enableDocs = false;
|
|
capstoneSupport = false;
|
|
guestAgentSupport = false;
|
|
tpmSupport = false;
|
|
libiscsiSupport = false;
|
|
usbredirSupport = false;
|
|
canokeySupport = false;
|
|
hostCpuTargets = [ "x86_64-softmmu" ];
|
|
}).overrideDerivation (old: {
|
|
postFixup = ''
|
|
rm -r "$out/share/icons"
|
|
cp "${pkgs.OVMF.fd + "/FV/OVMF.fd"}" "$out/share/qemu/"
|
|
'';
|
|
configureFlags = old.configureFlags ++ [
|
|
"--disable-tcg"
|
|
"--disable-tcg-interpreter"
|
|
"--disable-docs"
|
|
"--disable-install-blobs"
|
|
"--disable-slirp"
|
|
"--disable-virtfs"
|
|
"--disable-virtfs-proxy-helper"
|
|
"--disable-vhost-user-blk-server"
|
|
"--without-default-features"
|
|
"--enable-kvm"
|
|
"--disable-tools"
|
|
];
|
|
})
|