mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-09 01:44:15 +01:00
meta: Share directories with virtual machines
This *works*, and it's possible to edit files in one virtual machine while having those files instantly be updated in all other virtual machines. Note that the host will also have access to the files, which ultimately means that directory sharing is quite useful (and convenient).
This commit is contained in:
parent
d28c0ec15b
commit
d34ead9699
@ -2,6 +2,13 @@
|
||||
virtualisation = {
|
||||
memorySize = 8192;
|
||||
cores = 4;
|
||||
|
||||
sharedDirectories = {
|
||||
testing = {
|
||||
source = "/home/user/containers/testing";
|
||||
target = "/mnt";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.qemu.options = [
|
||||
|
Loading…
Reference in New Issue
Block a user