[microvm] share read only nix store
All checks were successful
Evaluate Hydra Jobs / eval-hydra-jobs (pull_request) Successful in 4m48s
Evaluate Hydra Jobs / eval-hydra-jobs (push) Successful in 5m0s

this reduces build times drastically
This commit is contained in:
2024-11-19 15:10:13 +01:00
parent 6456814319
commit 1cecd21763

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";