remove bios qemu script

This commit is contained in:
Sean Buckley 2022-11-18 19:50:34 -05:00
parent b095e70a7e
commit 470acb059a

View file

@ -1,14 +1,4 @@
pkgs:
let
qemu-opts = builtins.concatStringsSep " " [
"${pkgs.qemu_kvm}/bin/qemu-kvm"
"-cpu host"
"-usbdevice tablet"
"-smp cores=4"
"-m 4096"
];
in
builtins.mapAttrs
(n: v: {
type = "app";
@ -20,11 +10,13 @@ builtins.mapAttrs
exec $jupy/bin/python -m jupyterlab "$@"
'';
qemu-bios = ''
exec ${qemu-opts} "$@"
'';
qemu-uefi = ''
exec ${qemu-opts} -bios ${pkgs.OVMF.fd}/FV/OVMF.fd "$@"
'';
qemu = toString [
"exec ${pkgs.qemu_kvm}/bin/qemu-kvm"
"-cpu host"
"-usbdevice tablet"
"-smp cores=4"
"-m 4096"
"-bios ${pkgs.OVMF.fd}/FV/OVMF.fd"
"\"$@\""
];
}