pinwheel: Add volume sharing for vms
This commit is contained in:
1 parent
a3133defeb
commit
5ab0ac4828
1 file changed
+4
-1
@@ -17,7 +17,10 @@ in
|
|||||||
config = lib.mkIf enabled {
|
config = lib.mkIf enabled {
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
spiceUSBRedirection.enable = true; # Allow redirecting USB to the VM
|
spiceUSBRedirection.enable = true; # Allow redirecting USB to the VM
|
||||||
libvirtd.enable = true;
|
libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
qemu.vhostUserPackages = [ pkgs.virtiofsd ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.alex = {
|
users.users.alex = {
|
||||||
|
|||||||
Reference in new issue
Block a user