virtualization: Mount /tmp as /mnt

This isn't *perfect*, but it does make it possible to share files
between the guest and the host without having to imperatively create a
directory that may or may not exist on other systems.
This commit is contained in:
Donovan Glover 2024-04-06 08:21:27 -04:00
parent dd3d09bb67
commit 0e07ad48f5
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -133,6 +133,13 @@ in
memorySize = 4096;
cores = 4;
sharedDirectories = {
tmp = {
source = "/tmp";
target = "/mnt";
};
};
qemu.options = [
"-device virtio-vga-gl"
"-display sdl,gl=on,show-cursor=off"