michaelnet/thonkpad/nixhost/grun.sh

12 lines
193 B
Bash
Executable File

#!/bin/bash
# Graphical runner for desktop
ISO=nixos
DRIVENAME=nixhost
MEM_GB=1
qemu-system-x86_64 -enable-kvm \
-m $(expr 1024 \* $MEM_GB) -drive file=./$DRIVENAME.qcow2,format=qcow2