add writeable nix-store

This commit is contained in:
Leon Vita 2022-09-23 17:28:38 +01:00
parent 4afac5b978
commit 2468bbe6e5
1 changed files with 10 additions and 0 deletions

View File

@ -13,6 +13,16 @@ in
mem = 1024;
};
writableStoreOverlay = "/nix/.rw-store";
volumes = [ {
image = "nix-store-overlay.img";
mountPoint = config.microvm.writableStoreOverlay;
size = 2048;
} ];
c3d2.deployment = {
server = "server9";
mounts = [ "etc" "home" "var"];