[microvm] share read only nix store

this reduces build times drastically
This commit is contained in:
2024-11-19 15:10:13 +01:00
parent 05087d9fa6
commit b9cddb0bae

View File

@@ -46,6 +46,11 @@ let
{ {
microvm = { microvm = {
hypervisor = "qemu"; hypervisor = "qemu";
shares = [ {
tag = "ro-store";
source = "/nix/store";
mountPoint = "/nix/.ro-store";
} ];
interfaces = [ interfaces = [
{ {
type = "tap"; type = "tap";