oparl: fixes

This commit is contained in:
Astro 2022-05-28 00:30:04 +02:00
parent 7b78508a38
commit 8ee244e88e
1 changed files with 5 additions and 3 deletions

View File

@ -9,19 +9,19 @@ let
in
{
microvm = {
hypervisor = "cloud-hypervisor";
hypervisor = "kvmtool";
shares = [ {
source = "/nix/store";
mountPoint = "/nix/.ro-store";
tag = "store";
proto = "virtiofs";
proto = "9p";
socket = "store.socket";
} ] ++ map (dir: {
source = "/var/lib/microvms/staging-data-hoarder/${dir}";
mountPoint = "/${dir}";
tag = dir;
proto = "virtiofs";
proto = "9p";
socket = "${dir}.socket";
}) [ "etc" "home" "var"];
@ -90,4 +90,6 @@ in
git push origin master
'';
};
system.stateVersion = "22.05";
}