diff --git a/bin/qemu-install.sh b/bin/qemu-install.sh new file mode 100644 index 0000000..93375e2 --- /dev/null +++ b/bin/qemu-install.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env pwsh +qemu-img create -f qcow2 nixos.qcow2 +qemu-system-x86_64 -accel whpx,kernel-irqchip=off \ + -hda .\nixos.qcow2 \ + -m 4096 \ + -net nic,model=virtio \ + -net user \ + -vga virtio \ + -boot strict=on \ + -cdrom .\nixos.iso diff --git a/bin/qemu-run.sh b/bin/qemu-run.sh new file mode 100644 index 0000000..fb11739 --- /dev/null +++ b/bin/qemu-run.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env pwsh +qemu-system-x86_64 -accel whpx,kernel-irqchip=off \ + -hda .\nixos.qcow2 \ + -m 4096 \ + -net nic,model=virtio \ + -net user \ + -vga virtio \ + -boot strict=on