summary refs log tree commit diff
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index c1f601b..984e4cc 100755
--- a/run.sh
+++ b/run.sh
@@ -1,2 +1,14 @@
 #!/bin/sh
-qemu-kvm -enable-kvm -m 4G -cpu host -smp 2 -hda nixos-test.img -bios OVMF.fd -vga virtio -display gtk,gl=on,show-cursor=on -usb -device usb-mouse
+qemu-system-x86_64 \
+    -enable-kvm \
+    -m 4G \
+    -cpu host \
+    -smp 2 \
+    -hda nixos-test.img \
+    -bios OVMF.fd \
+    -display gtk,gl=on,show-cursor=on \
+    -vga none \
+    -device virtio-gpu-pci \
+    -audiodev pa,id=snd0 \
+    -usb \
+    -device usb-mouse