virtiofsd
This commit is contained in:
parent
2288b88c8e
commit
b111794dbb
1 changed files with 5 additions and 2 deletions
|
@ -1,8 +1,11 @@
|
|||
{ lib, config, ... }: let
|
||||
{ lib, config, pkgs, ... }: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config) conf;
|
||||
in mkIf conf.vm.enable {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu.vhostUserPackages = [ pkgs.virtiofsd ];
|
||||
};
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
users.users.${conf.username}.extraGroups = [ "libvirtd" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue