mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-17 18:21:04 +02: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:
@@ -2,6 +2,13 @@
|
||||
virtualisation = {
|
||||
memorySize = 8192;
|
||||
cores = 4;
|
||||
|
||||
sharedDirectories = {
|
||||
testing = {
|
||||
source = "/home/user/containers/testing";
|
||||
target = "/mnt";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.qemu.options = [
|
||||
|
Reference in New Issue
Block a user