vm: Fix virtio
This commit is contained in:
parent
e305c6b1de
commit
c2068a30ff
|
@ -6,6 +6,10 @@
|
||||||
users.users.geoffrey.extraGroups = [ "docker" ];
|
users.users.geoffrey.extraGroups = [ "docker" ];
|
||||||
})
|
})
|
||||||
(lib.mkIf config.frogeye.dev.vm {
|
(lib.mkIf config.frogeye.dev.vm {
|
||||||
|
# Required to mount filesystems. Also need to add
|
||||||
|
# <binary path="/run/current-system/sw/bin/virtiofsd"/>
|
||||||
|
# to the VM's filesystem XML config
|
||||||
|
environment.systemPackages = [ pkgs.virtiofsd ];
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
libvirtd.enable = true;
|
libvirtd.enable = true;
|
||||||
spiceUSBRedirection.enable = true;
|
spiceUSBRedirection.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue