mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-24 06:38:36 +01:00
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:
parent
dd3d09bb67
commit
0e07ad48f5
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user