From e9cb17e6e9e043b3f3184809cedcf61b2a72d3c3 Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Tue, 1 Apr 2025 14:47:32 +0300 Subject: [PATCH] Add virtiofsd for libvirt folder passthrough --- nixos-modules/virtualisation/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos-modules/virtualisation/default.nix b/nixos-modules/virtualisation/default.nix index d55f6ce..aea7aa1 100644 --- a/nixos-modules/virtualisation/default.nix +++ b/nixos-modules/virtualisation/default.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, pkgs, ... }: { virtualisation = { docker = { @@ -8,6 +8,7 @@ libvirtd.enable = true; spiceUSBRedirection.enable = true; }; + environment.systemPackages = [ pkgs.virtiofsd ]; boot.extraModprobeConfig = let