pinwheel: Add volume sharing for vms

This commit is contained in:
Alexander Heldt
2024-11-28 18:26:28 +01:00
parent a3133defeb
commit 5ab0ac4828

View File

@@ -17,7 +17,10 @@ in
config = lib.mkIf enabled {
virtualisation = {
spiceUSBRedirection.enable = true; # Allow redirecting USB to the VM
libvirtd.enable = true;
libvirtd = {
enable = true;
qemu.vhostUserPackages = [ pkgs.virtiofsd ];
};
};
users.users.alex = {