about summary refs log tree commit diff
path: root/modules/libvirtd.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-08-05 00:47:49 +0300
committerAzat Bahawi <azat@bahawi.net>2024-08-05 00:47:49 +0300
commitd6125843e65a9ed4568e5bf34c927947ac7a6c5a (patch)
treed86bcd7cf8969c16d9a5c6d13b4e6797c1d96cd1 /modules/libvirtd.nix
parent2024-08-03 (diff)
2024-08-05
Diffstat (limited to '')
-rw-r--r--modules/libvirtd.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/libvirtd.nix b/modules/libvirtd.nix
index 009fd24..4846364 100644
--- a/modules/libvirtd.nix
+++ b/modules/libvirtd.nix
@@ -33,9 +33,12 @@ in
       '';
 
       qemu = {
-        package = pkgs.qemu_kvm;
         runAsRoot = false;
 
+        package = pkgs.qemu_kvm;
+
+        vhostUserPackages = [ pkgs.virtiofsd ];
+
         ovmf = {
           enable = true;
           packages = [ pkgs.OVMFFull.fd ];

Consider giving Nix/NixOS a try! <3