feat: Qemu
This commit is contained in:
@@ -24,6 +24,14 @@ in {
|
|||||||
qemu-uefi
|
qemu-uefi
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
qemu.vhostUserPackages = [ pkgs.virtiofsd ];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Hack to enable UEFI support.
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware"
|
||||||
|
];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user