From b9cddb0bae60c7c8b0d2af3a7feda3a2f095e417 Mon Sep 17 00:00:00 2001 From: kalipso Date: Tue, 19 Nov 2024 15:10:13 +0100 Subject: [PATCH] [microvm] share read only nix store this reduces build times drastically --- machines/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/configuration.nix b/machines/configuration.nix index f62f7bd8..a2c24569 100644 --- a/machines/configuration.nix +++ b/machines/configuration.nix @@ -46,6 +46,11 @@ let { microvm = { hypervisor = "qemu"; + shares = [ { + tag = "ro-store"; + source = "/nix/store"; + mountPoint = "/nix/.ro-store"; + } ]; interfaces = [ { type = "tap";