oparl: switch to qemu

This commit is contained in:
Astro 2022-05-28 00:46:49 +02:00
parent 7ea114b921
commit 7fcb6f7a76
1 changed files with 3 additions and 3 deletions

View File

@ -9,19 +9,19 @@ let
in
{
microvm = {
hypervisor = "kvmtool";
hypervisor = "qemu";
shares = [ {
source = "/nix/store";
mountPoint = "/nix/.ro-store";
tag = "store";
proto = "9p";
proto = "virtiofs";
socket = "store.socket";
} ] ++ map (dir: {
source = "/var/lib/microvms/${config.networking.hostName}/${dir}";
mountPoint = "/${dir}";
tag = dir;
proto = "9p";
proto = "virtiofs";
socket = "${dir}.socket";
}) [ "etc" "home" "var"];